Changeset 4091 in orxonox.OLD for orxonox/trunk/src/game_loader.cc
- Timestamp:
- May 6, 2005, 8:02:26 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/game_loader.cc
r4020 r4091 214 214 bool GameLoader::worldCommand (Command* cmd) 215 215 { 216 if( !strcmp( cmd->cmd, "up_world"))216 if( !strcmp( cmd->cmd, CONFIG_NAME_NEXT_WORLD)) 217 217 { 218 218 if( !cmd->bUp) … … 222 222 return true; 223 223 } 224 else if( !strcmp( cmd->cmd, "down_world"))224 else if( !strcmp( cmd->cmd, CONFIG_NAME_PREV_WORLD)) 225 225 { 226 226 if( !cmd->bUp) … … 230 230 return true; 231 231 } 232 else if( !strcmp( cmd->cmd, "pause"))232 else if( !strcmp( cmd->cmd, CONFIG_NAME_PAUSE)) 233 233 { 234 234 if( !cmd->bUp) … … 241 241 return true; 242 242 } 243 else if( !strcmp( cmd->cmd, "quit"))243 else if( !strcmp( cmd->cmd, CONFIG_NAME_QUIT)) 244 244 { 245 245 if( !cmd->bUp) this->stop();
Note: See TracChangeset
for help on using the changeset viewer.