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

This commit is contained in:
KimLS
2014-09-05 21:18:35 -07:00
parent 3cda62acf4
commit ba0e4bfc1d
3 changed files with 3 additions and 3 deletions
+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;