diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 8a8f21c50..7e14f1ec3 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -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: diff --git a/src/p_spec.h b/src/p_spec.h index 83a50e252..d40fb3da7 100644 --- a/src/p_spec.h +++ b/src/p_spec.h @@ -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 ();