rott/rott-1.0-fixes.patch
2007-05-18 15:30:06 +00:00

11 lines
484 B
Diff

diff -urN rott-1.0.orig/rott/rt_ted.c rott-1.0/rott/rt_ted.c
--- rott-1.0.orig/rott/rt_ted.c 2007-05-06 23:57:48.000000000 +0200
+++ rott-1.0/rott/rt_ted.c 2007-05-06 23:45:11.000000000 +0200
@@ -5959,6 +6020,7 @@
ambush = (GameRandomNumber("rand actor",0) < 128);
i = randloc[locindex].x;
j = randloc[locindex].y;
+ tile = mapplanes[1][j*mapwidth + i];
SpawnStand(randomtype,i,j,tile-122,ambush);
used[locindex] = 1;
PreCacheActor(randomtype,0);