diff options
Diffstat (limited to 'src/game/ObjectMgr.h')
-rw-r--r-- | src/game/ObjectMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index eaf07245980..5447fe23d51 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -486,7 +486,7 @@ class ObjectMgr PlayerInfo const* GetPlayerInfo(uint32 race, uint32 class_) const { - if (race >= MAX_RACES) return NULL; + if (race >= MAX_RACES) return NULL; if (class_ >= MAX_CLASSES) return NULL; PlayerInfo const* info = &playerInfo[race][class_]; if (info->displayId_m == 0 || info->displayId_f == 0) return NULL; |