Changeset 6414 in orxonox.OLD for branches/network/src/world_entities/power_ups
- Timestamp:
- Jan 6, 2006, 2:47:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/power_ups/param_power_up.cc
r6412 r6414 64 64 static_cast<PowerUp*>(this)->loadParams(root); 65 65 LoadParam(root, "type", this, ParamPowerUp, setType); 66 if(root ->FirstChildElement("value") != NULL) {66 if(root!=NULL && root->FirstChildElement("value") != NULL) { 67 67 LoadParam(root, "value", this, ParamPowerUp, setValue); 68 68 }
Note: See TracChangeset
for help on using the changeset viewer.