Browse Source

Default Entity SetSpeed via LUA fix

Image 4 years ago
parent
commit
f2c72f60b1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EQ2/source/WorldServer/LuaFunctions.cpp

+ 1 - 0
EQ2/source/WorldServer/LuaFunctions.cpp

@@ -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) {