mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed: In non-UDMF maps, projectile impact activation implies projectile cross activation as well.
SVN r3439 (trunk)
This commit is contained in:
parent
977b2caa30
commit
914ef44c59
1 changed files with 8 additions and 1 deletions
|
@ -2179,7 +2179,14 @@ void P_LoadLineDefs2 (MapData * map)
|
|||
|
||||
// convert the activation type
|
||||
ld->activation = 1 << GET_SPAC(ld->flags);
|
||||
if (ld->activation == SPAC_AnyCross) ld->activation = SPAC_Impact|SPAC_PCross; // this is really PTouch
|
||||
if (ld->activation == SPAC_AnyCross)
|
||||
{ // this is really PTouch
|
||||
ld->activation = SPAC_Impact | SPAC_PCross;
|
||||
}
|
||||
else if (ld->activation == SPAC_Impact)
|
||||
{ // In non-UMDF maps, Impact implies PCross
|
||||
ld->activation = SPAC_Impact | SPAC_PCross;
|
||||
}
|
||||
ld->flags &= ~ML_SPAC_MASK;
|
||||
}
|
||||
delete[] mldf;
|
||||
|
|
Loading…
Reference in a new issue