Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8678 in orxonox.OLD for branches/script_engine/src/world_entities


Ignore:
Timestamp:
Jun 21, 2006, 5:01:17 PM (19 years ago)
Author:
snellen
Message:

fixed segfault when a script isn't loaded correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/world_entities/script_trigger.cc

    r8666 r8678  
    181181     if( !(script->executeFunction()) )
    182182       printf("Error ScriptTrigger: Execution of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str());
     183     
     184     actionFinished = script->getReturnedBool();
    183185     }
    184186     
    185      actionFinished = script->getReturnedBool();
     187     
    186188}
    187189
Note: See TracChangeset for help on using the changeset viewer.