Instructions Jenkins Doxygen

[fixed] stability issue 92/892/1
authorVictor Popovici <victorpopovici@gmail.com>
Wed, 9 Oct 2013 23:49:11 +0000 (01:49 +0200)
committerVictor Popovici <victorpopovici@gmail.com>
Wed, 9 Oct 2013 23:49:27 +0000 (01:49 +0200)
Change-Id: I383a073e97f9c0b0e29a18e0571188fc4ccd2084

MMOCoreORB/src/server/zone/objects/scene/LuaSceneObject.cpp

index 58a9163..0858f38 100644 (file)
@@ -467,9 +467,9 @@ int LuaSceneObject::getObjectName(lua_State* L) {
 }
 
 int LuaSceneObject::setDirectionalHeading(lua_State* L) {
-       int heading = lua_tointeger(L, -1);
+       float heading = lua_tonumber(L, -1);
 
-       SceneObject* obj = (SceneObject*) lua_touserdata(L, -2);
+       //SceneObject* obj = (SceneObject*) lua_touserdata(L, -2);
 
        realObject->setDirection(heading);