Default Entity SetSpeed via LUA fix
This commit is contained in:
parent
110abd46dd
commit
f2c72f60b1
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue