diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-19 11:23:07 +0200 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-19 11:23:07 +0200 |
| commit | 944cfd077eced571e3ac5752a377b5a0934b9ee6 (patch) | |
| tree | 0d4b677783603d2da89b40a84658393488b025c3 /src/game/Entities/GameObject/GameObject.cpp | |
| parent | 787a9238df0069ef7fe27f9b714036c97436483a (diff) | |
Cleaning unused variables
Diffstat (limited to 'src/game/Entities/GameObject/GameObject.cpp')
| -rw-r--r-- | src/game/Entities/GameObject/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Entities/GameObject/GameObject.cpp b/src/game/Entities/GameObject/GameObject.cpp index 9628a7f10e..735dfefedd 100644 --- a/src/game/Entities/GameObject/GameObject.cpp +++ b/src/game/Entities/GameObject/GameObject.cpp @@ -347,7 +347,7 @@ void GameObject::Update(uint32 diff) // Bombs if (goInfo->trap.type == 2) m_cooldownTime = World::GetGameTimeMS()+10*IN_MILLISECONDS; // Hardcoded tooltip value - else if (Unit* owner = GetOwner()) + else if (GetOwner()) m_cooldownTime = World::GetGameTimeMS()+goInfo->trap.startDelay*IN_MILLISECONDS; m_lootState = GO_READY; |
