Fix size issue with Lua_Mob::SendIllusionPacket

Mob::SendIllusionPacket was expecting the size to be 0xFFFFFFFF
to default rather than -1.0f
This commit is contained in:
Michael Cook (mackal) 2014-09-05 22:36:44 -04:00
parent f69eccc42b
commit 2ef43212e1
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 09/05/2014 ==
demonstar55: Fix size getting nuked with lua's SendIllusionPacket
== 09/05/2014 ==
Uleat: Fix for cursor item loss when zoning. (Thanks to the other devs who traced and fixed the 'macro' issue!)

View File

@ -1451,7 +1451,7 @@ void Lua_Mob::SendIllusionPacket(luabind::adl::object illusion) {
uint32 drakkin_heritage = 4294967295;
uint32 drakkin_tattoo = 4294967295;
uint32 drakkin_details = 4294967295;
float size = -1.0f;
float size = 0xFFFFFFFF;
auto cur = illusion["race"];
if(luabind::type(cur) != LUA_TNIL) {