Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8822 in orxonox.OLD for branches/single_player_map


Ignore:
Timestamp:
Jun 27, 2006, 1:17:53 PM (18 years ago)
Author:
snellen
Message:

fixed bug in ExecutorLua3ret

Location:
branches/single_player_map/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/lib/util/executor/executor_lua.h

    r8815 r8822  
    420420    {
    421421      lua_State* state = (lua_State*)values;
    422       count = 0;
     422      count = 1;
    423423
    424424      toLua<ret>(state, (dynamic_cast<T*>(object)->*(functionPointer))(
    425425          fromLua<type0>(state, 1),
    426       fromLua<type1>(state, 2),
    427       fromLua<type2>(state, 3) ));
     426          fromLua<type1>(state, 2),
     427          fromLua<type2>(state, 3) ));
    428428    }
    429429
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r8819 r8822  
    189189  Quaternion q = this->getAbsDir();
    190190
    191   printf("%s moving to %f, %f, %f \n",this->getName(),x,y,z);
     191  //printf("%s moving to %f, %f, %f \n",this->getName(),x,y,z);
    192192
    193193  return this->walkTo(x, y, z, q.w, q.v.x, q.v.y, q.v.z);
Note: See TracChangeset for help on using the changeset viewer.