r225 - trunk/rott
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat May 24 02:24:10 EDT 2008
Author: jwrdegoede
Date: 2008-05-24 02:24:10 -0400 (Sat, 24 May 2008)
New Revision: 225
Modified:
trunk/rott/rt_ted.c
Log:
Fix a nasty crasher
Modified: trunk/rott/rt_ted.c
===================================================================
--- trunk/rott/rt_ted.c 2008-05-24 06:23:07 UTC (rev 224)
+++ trunk/rott/rt_ted.c 2008-05-24 06:24:10 UTC (rev 225)
@@ -5959,6 +5959,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);
More information about the rott-commits
mailing list