Changeset 8403 for code/trunk/src/libraries/network/FunctionCallManager.cc
- Timestamp:
- May 5, 2011, 4:02:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/FunctionCallManager.cc
r7801 r8403 31 31 #include "core/GameMode.h" 32 32 #include "GamestateHandler.h" 33 #include "Host.h" 34 #include "util/OrxAssert.h" 33 35 34 36 namespace orxonox { … … 175 177 while( it!=FunctionCallManager::sIncomingFunctionCallBuffer_.end() ) 176 178 { 177 if( it->first.execute() ) 179 OrxAssert( Host::getActiveInstance(), "No Host class existing" ); 180 if( it->second.first <= Host::getActiveInstance()->getLastReceivedGamestateID(it->second.second) && it->first.execute() ) 178 181 FunctionCallManager::sIncomingFunctionCallBuffer_.erase(it); 179 182 else
Note: See TracChangeset
for help on using the changeset viewer.