Default Entity SetSpeed via LUA fix

This commit is contained in:
Image 2020-04-19 12:15:52 -04:00
parent 110abd46dd
commit f2c72f60b1

View file

@ -1572,6 +1572,7 @@ int EQ2Emu_lua_SetSpeed(lua_State* state) {
lua_interface->ResetFunctionStack(state);
if (spawn) {
spawn->SetSpeed(value);
((Entity*)spawn)->SetSpeed(value);
if (spawn->IsPlayer()) {
Client* client = spawn->GetZone()->GetClientBySpawn(spawn);
if (client) {