- Timestamp:
- Apr 9, 2005, 11:05:44 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r3755 r3764 236 236 PRINTF(3)("recieved command [%s]\n", cmd->cmd); 237 237 if( !strcmp( cmd->cmd, "up")) this->bUp = !cmd->bUp; 238 elseif( !strcmp( cmd->cmd, "down")) this->bDown = !cmd->bUp;239 elseif( !strcmp( cmd->cmd, "left")) this->bLeft = !cmd->bUp;240 elseif( !strcmp( cmd->cmd, "right")) this->bRight = !cmd->bUp;241 elseif( !strcmp( cmd->cmd, "fire")) this->bFire = !cmd->bUp;242 elseif( !strcmp( cmd->cmd, "mode")) this->bWeaponChange = !cmd->bUp;243 } 238 if( !strcmp( cmd->cmd, "down")) this->bDown = !cmd->bUp; 239 if( !strcmp( cmd->cmd, "left")) this->bLeft = !cmd->bUp; 240 if( !strcmp( cmd->cmd, "right")) this->bRight = !cmd->bUp; 241 if( !strcmp( cmd->cmd, "fire")) this->bFire = !cmd->bUp; 242 if( !strcmp( cmd->cmd, "mode")) this->bWeaponChange = !cmd->bUp; 243 }
Note: See TracChangeset
for help on using the changeset viewer.