Changeset 4412 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- May 31, 2005, 1:05:26 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4409 r4412 234 234 accel = accel+(direction*acceleration); 235 235 if( this->bDown && this->getRelCoor().x > -5) 236 accel = accel -(direction*acceleration);236 accel = accel -(direction*acceleration); 237 237 if( this->bLeft && TrackManager::getInstance()->getWidth() > -this->getRelCoor().z*2) 238 238 accel = accel + (orthDirection*acceleration); … … 300 300 this->bRight = event.bPressed; 301 301 } 302 303 } 302 else if( event.type == KeyMapper::PEV_FIRE1) 303 { 304 this->bFire = event.bPressed; 305 } 306 else if( event.type == KeyMapper::PEV_NEXT_WEAPON) 307 { 308 if( !event.bPressed) this->bWeaponChange = !this->bWeaponChange; 309 } 310 311 }
Note: See TracChangeset
for help on using the changeset viewer.