diff --git a/WorldObjectMethods.h b/WorldObjectMethods.h index 4555cec..e0a6cc5 100644 --- a/WorldObjectMethods.h +++ b/WorldObjectMethods.h @@ -762,7 +762,11 @@ namespace LuaWorldObject uint32 spawnType = Eluna::CHECKVAL(L, 7, 8); uint32 despawnTimer = Eluna::CHECKVAL(L, 8, 0); +#if defined TRINITY || AZEROTHCORE + TempSummonType type; +#else TempSpawnType type; +#endif switch (spawnType) { case 1: