This commit is contained in:
parent
f3c69806b7
commit
87d561c4ab
19 changed files with 331 additions and 65 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue