mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- Fixed: SPAC_AnyCross didn't work.
- Fixed: Pushable doors must also check for SPAC_MPush. - Fixed: P_LoadThings2 did not adjust the byte order for the thingid field. SVN r965 (trunk)
This commit is contained in:
parent
6c21616c85
commit
b2176a4a33
4 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
May 12, 2008 (Changes by Graf Zahl)
|
||||||
|
- Fixed: SPAC_AnyCross didn't work.
|
||||||
|
- Fixed: Pushable doors must also check for SPAC_MPush.
|
||||||
|
- Fixed: P_LoadThings2 did not adjust the byte order for the thingid field.
|
||||||
|
|
||||||
May 11, 2008 (Changes by Graf Zahl)
|
May 11, 2008 (Changes by Graf Zahl)
|
||||||
- Changed: HIRESTEX 'define' textures now replace existing textures
|
- Changed: HIRESTEX 'define' textures now replace existing textures
|
||||||
of type MiscPatch with the same name.
|
of type MiscPatch with the same name.
|
||||||
|
|
|
@ -409,7 +409,7 @@ bool EV_DoDoor (DDoor::EVlDoor type, line_t *line, AActor *thing,
|
||||||
door->m_Direction = 1; // go back up
|
door->m_Direction = 1; // go back up
|
||||||
door->DoorSound (true); // [RH] Make noise
|
door->DoorSound (true); // [RH] Make noise
|
||||||
}
|
}
|
||||||
else if (!(line->activation & SPAC_Push))
|
else if (!(line->activation & (SPAC_Push|SPAC_MPush)))
|
||||||
// [RH] activate push doors don't go back down when you
|
// [RH] activate push doors don't go back down when you
|
||||||
// run into them (otherwise opening them would be
|
// run into them (otherwise opening them would be
|
||||||
// a real pain).
|
// a real pain).
|
||||||
|
|
|
@ -1441,7 +1441,7 @@ void P_LoadThings2 (MapData * map, int position)
|
||||||
|
|
||||||
for(int i = 0; i< numthings; i++)
|
for(int i = 0; i< numthings; i++)
|
||||||
{
|
{
|
||||||
mti[i].thingid = mth[i].thingid;
|
mti[i].thingid = LittleShort(mth[i].thingid);
|
||||||
mti[i].x = LittleShort(mth[i].x)<<FRACBITS;
|
mti[i].x = LittleShort(mth[i].x)<<FRACBITS;
|
||||||
mti[i].y = LittleShort(mth[i].y)<<FRACBITS;
|
mti[i].y = LittleShort(mth[i].y)<<FRACBITS;
|
||||||
mti[i].z = LittleShort(mth[i].z)<<FRACBITS;
|
mti[i].z = LittleShort(mth[i].z)<<FRACBITS;
|
||||||
|
|
|
@ -275,10 +275,10 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType)
|
||||||
lineActivation |= SPAC_PCross;
|
lineActivation |= SPAC_PCross;
|
||||||
}
|
}
|
||||||
// BOOM's generalized line types that allow monster use can actually be
|
// BOOM's generalized line types that allow monster use can actually be
|
||||||
// activated by anything!
|
// activated by anything except projectiles.
|
||||||
if (activationType == SPAC_AnyCross)
|
if (lineActivation & SPAC_AnyCross)
|
||||||
{
|
{
|
||||||
if (mo->flags2 & MF2_NOTELEPORT) return false;
|
lineActivation |= SPAC_Cross|SPAC_MCross;
|
||||||
}
|
}
|
||||||
if (activationType == SPAC_Use)
|
if (activationType == SPAC_Use)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue