mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 14:57:18 +00:00
Move update path to movement manager so all movement will use paths
This commit is contained in:
1 parent
2224b83ae0
commit
f754cb1307
14 files changed
+66
-236
No files matched your search
+1
-1
@@ -496,7 +496,7 @@ void Doors::HandleClick(Client* sender, uint8 trigger) {
|
||||
}
|
||||
}
|
||||
|
||||
void Doors::NPCOpen(NPC* sender, bool alt_mode)
|
||||
void Doors::Open(Mob* sender, bool alt_mode)
|
||||
{
|
||||
if (sender) {
|
||||
if (GetTriggerType() == 255 || GetTriggerDoorID() > 0 || GetLockpick() != 0 || GetKeyItem() != 0 || open_type == 59 || open_type == 58 || !sender->IsNPC()) { // this object isnt triggered or door is locked - NPCs should not open locked doors!
|
||||
|
||||
Reference in new issue
Block a user