- Fixed: In non-UDMF maps, projectile impact activation implies projectile cross activation as well.

SVN r3439 (trunk)
This commit is contained in:
Randy Heit 2012-03-15 22:57:00 +00:00
parent 977b2caa30
commit 914ef44c59

View file

@ -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;