Changeset 1284 for code/branches/merge/src/orxonox
- Timestamp:
- May 15, 2008, 2:55:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/orxonox/objects/SpaceShip.cc
r1275 r1284 116 116 if (this->tt_) 117 117 delete this->tt_; 118 if(setMouseEventCallback_) 119 InputManager::removeMouseHandler("SpaceShip"); 118 120 } 119 121 … … 142 144 void SpaceShip::init() 143 145 { 144 if (( !network::Client::getSingleton() || network::Client::getSingleton()->getShipID()==objectID))146 if ((server_ || ( network::Client::getSingleton() && network::Client::getSingleton()->getShipID()==objectID ) )) 145 147 { 146 148 if (!setMouseEventCallback_)
Note: See TracChangeset
for help on using the changeset viewer.