diff options
| author | Chaz Brown <iamparadox@netscape.net> | 2009-09-25 17:31:37 +0200 |
|---|---|---|
| committer | Chaz Brown <iamparadox@netscape.net> | 2009-09-25 17:31:37 +0200 |
| commit | 0febe02227f5ac2272ff1e57c6b527300ffe6641 (patch) | |
| tree | 11a64bf2ba16523534930504c3ade4836ec882f6 | |
| parent | c01172b0c01488a4f043fb9b7e5aa4650cf0b47c (diff) | |
Fix HandleNpcAddCommand with bad creature ID - patch by SPP
--HG--
branch : trunk
| -rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 8b55c9da616..9e15ce994d0 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -738,8 +738,8 @@ bool Creature::Create(uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry, break; } LoadCreaturesAddon(); + SetDisplayId(GetCreatureInfo()->GetRandomValidModelIdIncludingNativeId(GetNativeDisplayId())); } - SetDisplayId(GetCreatureInfo()->GetRandomValidModelIdIncludingNativeId(GetNativeDisplayId())); return bResult; } |
