Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2006, 2:47:36 PM (19 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/power_ups/param_power_up.cc

    r6412 r6414  
    6464  static_cast<PowerUp*>(this)->loadParams(root);
    6565  LoadParam(root, "type", this, ParamPowerUp, setType);
    66   if(root->FirstChildElement("value") != NULL) {
     66  if(root!=NULL && root->FirstChildElement("value") != NULL) {
    6767    LoadParam(root, "value", this, ParamPowerUp, setValue);
    6868  }
Note: See TracChangeset for help on using the changeset viewer.