Misc fixes / analysis issues

This commit is contained in:
hondacrx
2017-07-17 10:52:54 -04:00
parent 34263f9551
commit 8a31ccff0d
5 changed files with 12 additions and 16 deletions
+2 -2
View File
@@ -2442,9 +2442,9 @@ namespace Game
if (displayEntry == null)
{
Log.outError(LogFilter.Sql, "Creature (Entry: {0}) lists non-existing Modelid1 id ({1}), this can crash the client.", cInfo.Entry, cInfo.ModelId1);
//cInfo.ModelId1 = 0;
cInfo.ModelId1 = 0;
}
else if (displayScaleEntry == null)
else
displayScaleEntry = displayEntry;
CreatureModelInfo modelInfo = GetCreatureModelInfo(cInfo.ModelId1);