Fix mangos two build

This commit is contained in:
Rochet2
2018-10-18 20:42:44 +03:00
parent b4eb7841cb
commit 8697e932ae
6 changed files with 14 additions and 10 deletions

View File

@@ -519,10 +519,10 @@ void Eluna::RunScripts()
void Eluna::InvalidateObjects()
{
++callstackid;
#ifdef AZEROTHCORE
ASSERT(callstackid && "Callstackid overflow");
#else
#ifdef TRINITY
ASSERT(callstackid, "Callstackid overflow");
#else
ASSERT(callstackid && "Callstackid overflow");
#endif
}