Bizarre issue reported with SendIllusionPacket corrupting size in lua, dunno if this fixes it but fingers crossed.

This commit is contained in:
KimLS committed 2014-09-05 21:18:35 -07:00
1 parent 3cda62acf4
commit ba0e4bfc1d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1460,7 +1460,7 @@ void Mob::SendIllusionPacket(uint16 in_race, uint8 in_gender, uint8 in_texture,
else
this->drakkin_details = in_drakkin_details;
if (in_size == 0xFFFFFFFF)
if (in_size <= 0.0f)
this->size = GetSize();
else
this->size = in_size;