Changeset 7461 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- May 1, 2006, 1:47:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r7460 r7461 379 379 while( element != NULL) 380 380 { 381 PRINTF( 4)("============ GameRules ==");382 PRINTF( 4)("creating %s\n", element->Value());381 PRINTF(2)("============ GameRules ==\n"); 382 PRINTF(2)("creating %s\n", element->Value()); 383 383 BaseObject* created = Factory::fabricate(element); 384 if (created != NULL /*&& created->isA(CL_GAME_RULES)*/)384 if (created != NULL && created->isA(CL_GAME_RULES)) 385 385 { 386 386 this->gameRule = dynamic_cast<GameRules*>(created); 387 387 State::setGameRules(this->gameRule); 388 // if there is a valid game rule loaded, break because it is not thought to load multiple game rules 389 break; 388 390 } 389 391 else
Note: See TracChangeset
for help on using the changeset viewer.