Changeset 8402 for code/trunk/src/libraries/network
- Timestamp:
- May 5, 2011, 3:40:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/GamestateManager.h
r8327 r8402 87 87 virtual bool ackGamestate(unsigned int gamestateID, unsigned int peerID); 88 88 virtual uint32_t getLastReceivedGamestateID( unsigned int peerID ); 89 virtual uint32_t getCurrentGamestateID(){ return currentGamestate_->getID(); }89 virtual uint32_t getCurrentGamestateID(){ if( currentGamestate_) return currentGamestate_->getID(); else return GAMESTATEID_INITIAL; } 90 90 91 91 bool processGamestates();
Note: See TracChangeset
for help on using the changeset viewer.