Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 1, 2006, 3:05:47 PM (19 years ago)
Author:
snellen
Message:

Added method to: ScriptClass: int insertObject(Script* L, BaseObject* obj, const std::string& name, bool gc=false)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/lib/script_engine/script.cc

    r8978 r8979  
    335335   {
    336336     static_cast<ScriptClass*>(scriptClass)->registerClass(this);
    337      static_cast<ScriptClass*>(scriptClass)->insertObject(this, this, false);
     337     static_cast<ScriptClass*>(scriptClass)->insertObject(this, this,"thisscript", false);
    338338   }
    339339}
Note: See TracChangeset for help on using the changeset viewer.