Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2007, 7:39:47 PM (17 years ago)
Author:
snellen
Message:

corrected typo in worldentity → setVisibiliy to setVisibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/generic_npc.cc

    r10415 r10511  
    4848                        ->addMethod("playAnimation", Executor2<GenericNPC, lua_State*,int,int>(&GenericNPC::playAnimation))
    4949                        // Display
    50                         ->addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide))
    51                         ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide))
     50                        ->addMethod("setVisibility", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::setVisibility))
    5251                        // Coordinates
    5352                        ->addMethod("getAbsCoorX", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorX))
Note: See TracChangeset for help on using the changeset viewer.