Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7657 in orxonox.OLD for branches/script_engine


Ignore:
Timestamp:
May 17, 2006, 8:46:15 PM (19 years ago)
Author:
bensch
Message:

minor fix

Location:
branches/script_engine/src/lib/script_engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/main.cc

    r7656 r7657  
    106106  {
    107107    //switch (iFunctionNumber) //- methodBase) uncomment this when methodBase gets correclty set in the Scriptable class
    108     if(functionName.compare("printNameOne")==0)
     108    if(functionName == "printNameOne")
    109109    {
    110110      //case 0:
     
    142142  {
    143143    //switch (iFunctionNumber) //- m_iMethodBase) //TODO:find a way to determine the function number somehow: this works just incidentally
    144     if(functionName.compare("printNameTwo")==0)
     144    if(functionName == "printNameTwo")
    145145    {
    146146      //case 0:
  • branches/script_engine/src/lib/script_engine/scriptable.cc

    r7655 r7657  
    197197      }
    198198    }
    199 
     199    return "";
    200200  }
    201201
Note: See TracChangeset for help on using the changeset viewer.