Changeset 10638 in orxonox.OLD for trunk/src/world_entities/script_triggers/space_trigger.cc
- Timestamp:
- Apr 19, 2007, 4:06:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/script_triggers/space_trigger.cc
r10622 r10638 128 128 if(triggerRemains && scriptCalled ) 129 129 { 130 execute Action(timestep);130 executeScriptFunction(timestep); 131 131 return; 132 132 } … … 136 136 if( !invert && this->distance(target) < radius) 137 137 { 138 //printf("Distance is %f \n", this->distance(target)); 139 executeAction(timestep); 138 executeScriptFunction(timestep); 140 139 scriptCalled = true; 141 140 return; … … 144 143 else if( invert && this->distance(target) > radius) 145 144 { 146 execute Action(timestep);145 executeScriptFunction(timestep); 147 146 scriptCalled = true; 148 147 return;
Note: See TracChangeset
for help on using the changeset viewer.