- Timestamp:
- Apr 8, 2009, 12:58:47 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
r2907 r2908 30 30 #include <cstring> 31 31 #include "util/Math.h" 32 #include "core/GameMode.h"33 32 34 33 … … 37 36 uint8_t SynchronisableVariableBase::state_ = 0; 38 37 39 /*static*/ void SynchronisableVariableBase::setState()40 {41 if ( state_ == 0x0 )42 {43 state_ = GameMode::isMaster() ? 0x1 : 0x2; // set the appropriate mode here44 }45 }46 38 47 39
Note: See TracChangeset
for help on using the changeset viewer.