Changeset 10108 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Dec 19, 2006, 10:48:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/spectator.cc
r9869 r10108 25 25 ObjectListDefinitionID(Spectator, CL_SPECTATOR); 26 26 CREATE_FACTORY(Spectator); 27 28 29 30 #include "state.h" 27 31 28 32 … … 161 165 Playable::tick( time ); 162 166 163 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == SharedNetworkData::getInstance()->getHostID() )167 if( ( xMouse != 0 || yMouse != 0 ) && ( !State::isOnline() || this->getOwner() == SharedNetworkData::getInstance()->getHostID() ) ) 164 168 { 165 169 xMouse *= time / 10;
Note: See TracChangeset
for help on using the changeset viewer.