Fix HandleNpcAddCommand with bad creature ID - patch by SPP

--HG--
branch : trunk
This commit is contained in:
Chaz Brown
2009-09-25 17:31:37 +02:00
parent c01172b0c0
commit 0febe02227
+1 -1
View File
@@ -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;
}