Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 18, 2006, 10:06:19 PM (18 years ago)
Author:
bensch
Message:

new_class_id: hups… this was bad naming… confusing too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/npcs/generic_npc.cc

    r9746 r9757  
    3737
    3838#include "script_class.h"
    39 CREATE_SCRIPTABLE_CLASS(GenericNPC, GenericNPC::classID(),
     39CREATE_SCRIPTABLE_CLASS(GenericNPC,
    4040                        // Move
    4141                        addMethod("walkTo", Executor3<GenericNPC, lua_State*,float,float,float>(&GenericNPC::walkTo))
     
    9595
    9696  // collision reaction registration
    97   this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity::classID());
     97  this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity::staticClassID());
    9898}
    9999
Note: See TracChangeset for help on using the changeset viewer.