diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2017-08-20 04:48:07 +0200 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-08-20 04:48:07 +0200 |
| commit | 0dd68dfbee97eb7ed2c9bd4109ba3f2aed697860 (patch) | |
| tree | 072f2d6f3bf2f7a64d5533e670a978ef03276859 /src/game/Entities/GameObject/GameObject.cpp | |
| parent | e471c1bb6a241cfffe9c7ae61aa502eba9a046a0 (diff) | |
Another huge compilation fix
please delete cache and re-run cmake
Diffstat (limited to 'src/game/Entities/GameObject/GameObject.cpp')
| -rw-r--r-- | src/game/Entities/GameObject/GameObject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Entities/GameObject/GameObject.cpp b/src/game/Entities/GameObject/GameObject.cpp index 8f40adfe2a..9628a7f10e 100644 --- a/src/game/Entities/GameObject/GameObject.cpp +++ b/src/game/Entities/GameObject/GameObject.cpp @@ -1389,7 +1389,7 @@ void GameObject::Use(Unit* user) if (info->goober.eventId) { -#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS +#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_MAPSCRIPTS, "Goober ScriptStart id %u for GO entry %u (GUID %u).", info->goober.eventId, GetEntry(), GetDBTableGUIDLow()); #endif GetMap()->ScriptsStart(sEventScripts, info->goober.eventId, player, this); @@ -1491,7 +1491,7 @@ void GameObject::Use(Unit* user) int32 roll = irand(1, 100); -#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS +#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outStaticDebug("Fishing check (skill: %i zone min skill: %i chance %i roll: %i", skill, zone_skill, chance, roll); #endif @@ -1775,7 +1775,7 @@ void GameObject::Use(Unit* user) if (user->GetTypeId() != TYPEID_PLAYER || !sOutdoorPvPMgr->HandleCustomSpell(user->ToPlayer(), spellId, this)) sLog->outError("WORLD: unknown spell id %u at use action for gameobject (Entry: %u GoType: %u)", spellId, GetEntry(), GetGoType()); else -#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS +#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_OUTDOORPVP, "WORLD: %u non-dbc spell was handled by OutdoorPvP", spellId); #endif return; |
