aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-27 16:36:09 -0500
committermegamage <none@none>2009-05-27 16:36:09 -0500
commit5101c7c4c5b0a6781e6bb172b963315e007edc54 (patch)
tree129a929a4ed7cb0120e59d60ccba00e7caadcbd4 /src/game/ObjectMgr.cpp
parent75cf5b781cba41fd4a53ad400b06d03a1e1c032d (diff)
[7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index d7337fadd77..0e684ee4213 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -559,15 +559,15 @@ void ObjectMgr::LoadCreatureTemplates()
continue;
}
- if(cInfo->classNum != heroicInfo->classNum)
+ if(cInfo->trainer_class != heroicInfo->trainer_class)
{
- sLog.outErrorDb("Creature (Entry: %u) listed in `creature_template_substitution` has different `classNum` in heroic mode.",i);
+ sLog.outErrorDb("Creature (Entry: %u) has different `trainer_class` in heroic mode (Entry: %u).",i,cInfo->HeroicEntry);
continue;
}
- if(cInfo->race != heroicInfo->race)
+ if(cInfo->trainer_race != heroicInfo->trainer_race)
{
- sLog.outErrorDb("Creature (Entry: %u) listed in `creature_template_substitution` has different `race` in heroic mode.",i);
+ sLog.outErrorDb("Creature (Entry: %u) has different `trainer_race` in heroic mode (Entry: %u).",i,cInfo->HeroicEntry);
continue;
}