Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2008, 5:06:24 PM (16 years ago)
Author:
scheusso
Message:

sync frequencies do work now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Model.cc

    r1751 r1769  
    5252        RegisterObject(Model);
    5353        registerAllVariables();
    54         if(this->isExactlyA(Class(Model)))
    55            setObjectFrequency(1);
    5654    }
    5755
     
    8785        COUT(4) << "Loader (Model.cc): Created model" << std::endl;
    8886      }
     87      if(this->isExactlyA(Class(Model)))
     88        setObjectFrequency(300); //sync all 10 seconds (this only applies to asteroids and other isExactlyA(Model)
    8989      return true;
    9090    }
Note: See TracChangeset for help on using the changeset viewer.