- fixed: The 'open door in 5 minutes sector type had the order of parameters wrong, due to a bad function prototype.

This commit is contained in:
Christoph Oelckers 2016-03-24 18:01:01 +01:00
parent b16e696157
commit deafa0bce0
2 changed files with 2 additions and 2 deletions

View File

@ -1213,7 +1213,7 @@ void P_InitSectorSpecial(sector_t *sector, int special, bool nothinkers)
break;
case dSector_DoorRaiseIn5Mins:
new DDoor (sector, DDoor::doorWaitRaise, 2*FRACUNIT, TICRATE*30/7, 5*60*TICRATE, 0);
new DDoor (sector, DDoor::doorWaitRaise, 2*FRACUNIT, TICRATE*30/7, 0, 5*60*TICRATE);
break;
case dFriction_Low:

View File

@ -535,7 +535,7 @@ public:
};
DDoor (sector_t *sector);
DDoor (sector_t *sec, EVlDoor type, fixed_t speed, int delay, int topcountdown, int lightTag);
DDoor (sector_t *sec, EVlDoor type, fixed_t speed, int delay, int lightTag, int topcountdown);
void Serialize (FArchive &arc);
void Tick ();