Changeset 8708 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jun 22, 2006, 12:48:01 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r8228 r8708 33 33 34 34 #include "network_game_manager.h" 35 #include "shared_network_data.h" 35 36 36 37 #include "power_ups/weapon_power_up.h" … … 326 327 Playable::tick(time); 327 328 328 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == this->getHostID() )329 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == SharedNetworkData::getInstance()->getHostID() ) 329 330 { 330 331 if (xMouse > controlVelocityX) xMouse = controlVelocityX; -
trunk/src/world_entities/spectator.cc
r8228 r8708 20 20 #include "key_mapper.h" 21 21 22 #include "shared_network_data.h" 22 23 23 24 CREATE_FACTORY(Spectator, CL_SPECTATOR); … … 161 162 Playable::tick( time ); 162 163 163 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == this->getHostID() )164 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == SharedNetworkData::getInstance()->getHostID() ) 164 165 { 165 166 xMouse *= time / 10;
Note: See TracChangeset
for help on using the changeset viewer.