This commit is contained in:
parent
72e5da1ff6
commit
1a606c048d
9 changed files with 90 additions and 15 deletions
|
@ -537,6 +537,7 @@ void CPlayerModeBase::moveLeft()
|
|||
moveVel.vx-=metrics->m_metric[PM__RUN_REVERSESLOWDOWN];
|
||||
}
|
||||
setMoveVelocity(&moveVel);
|
||||
m_player->moveLeft();
|
||||
}
|
||||
|
||||
void CPlayerModeBase::moveRight()
|
||||
|
@ -560,6 +561,7 @@ void CPlayerModeBase::moveRight()
|
|||
moveVel.vx+=metrics->m_metric[PM__RUN_REVERSESLOWDOWN];
|
||||
}
|
||||
setMoveVelocity(&moveVel);
|
||||
m_player->moveRight();
|
||||
}
|
||||
int CPlayerModeBase::slowdown()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue