- 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:
parent
612d1b2fa3
commit
a5265c4ec5
6 changed files with 26 additions and 6 deletions
|
|
@ -190,6 +190,7 @@ static void BrainishExplosion (fixed_t x, fixed_t y, fixed_t z)
|
|||
boom->momz = pr_brainscream() << 9;
|
||||
boom->SetState (&ABossBrain::States[S_BRAINEXPLODE]);
|
||||
boom->effects = 0;
|
||||
boom->Damage = 0; // disables collision detection which is not wanted here
|
||||
boom->tics -= pr_brainscream() & 7;
|
||||
if (boom->tics < 1)
|
||||
boom->tics = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue