mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 02:06:50 +00:00
[Doors] Replace magic # in code with a field in doors table for when door closes. (#4288)
* [Doors] Move hard coded door close timer to doors table * Fix typo in version # * Make field unsigned and not null
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ extern EntityList entity_list;
|
||||
extern WorldServer worldserver;
|
||||
|
||||
Doors::Doors(const DoorsRepository::Doors &door) :
|
||||
m_close_timer(5000),
|
||||
m_close_timer(door.close_timer_ms),
|
||||
m_position(door.pos_x, door.pos_y, door.pos_z, door.heading),
|
||||
m_destination(door.dest_x, door.dest_y, door.dest_z, door.dest_heading)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user