- Timestamp:
- Apr 8, 2009, 12:36:08 AM (15 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/network/synchronisable/SynchronisableVariable.cc
r2710 r2907 30 30 #include <cstring> 31 31 #include "util/Math.h" 32 #include "core/GameMode.h" 32 33 33 34 … … 36 37 uint8_t SynchronisableVariableBase::state_ = 0; 37 38 39 /*static*/ void SynchronisableVariableBase::setState() 40 { 41 if ( state_ == 0x0 ) 42 { 43 state_ = GameMode::isMaster() ? 0x1 : 0x2; // set the appropriate mode here 44 } 45 } 38 46 39 47
Note: See TracChangeset
for help on using the changeset viewer.