- defined a constant for the crosshair menu entry's index to get a direct

reference out of the function code.
- Fixed: The BrainExplosions should not perform any collision detection. To
  achieve this their Damage value must be set to 0 when being spawned.
- Added a safety check to savegame versioning so that an invalid revision
  (reported as 0) will be handled without breaking savegame compatibility.


SVN r689 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-10 11:02:07 +00:00
commit a5265c4ec5
6 changed files with 26 additions and 6 deletions

View file

@ -1717,7 +1717,7 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y,
}
}
if (thing->flags2 & MF2_CANTLEAVEFLOORPIC
&& (tmfloorpic != thing->Sector->floorpic
&& (tmfloorpic != thing->floorpic
|| tmfloorz - thing->z != 0))
{ // must stay within a sector of a certain floor type
thing->z = oldz;