This commit is contained in:
Charles 2001-06-15 21:24:14 +00:00
parent f3c69806b7
commit 87d561c4ab
19 changed files with 331 additions and 65 deletions

View file

@ -33,9 +33,12 @@ void CWindUpTrigger::collidedWith(CThing *_thisThing)
CPlayer *player = (CPlayer *) _thisThing;
DVECTOR move;
move.vx = 0;
move.vy = -4 * GameState::getFramesSinceLast();
player->shove( move );
move.vx = player->getMoveVelocity()->vx;
player->setMoveVelocity( &move );
player->setFloating();
break;