Changeset 7462 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- May 1, 2006, 3:21:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r7461 r7462 382 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 388 // if there is a valid game rule loaded, break because it is not thought to load multiple game rules 389 break;389 return; 390 390 } 391 391 else
Note: See TracChangeset
for help on using the changeset viewer.