game: switch back ctrl and shift speed modifiers

This commit is contained in:
Crypto City 2020-04-14 14:38:35 +00:00
parent 9467c65440
commit f001beac17
2 changed files with 4 additions and 4 deletions

View File

@ -443,8 +443,8 @@ Players with military buildings in a town overrun by bears have a bonus in bear
<tr><td> Q </td><td> Place a block at the blue mouse cursor location </td></tr>
<tr><td> E </td><td> Remove a block at the red mouse cursor location </td></tr>
<tr><td> B </td><td> Toggle Minecraft style build mode </td></tr>
<tr><td> Shift </td><td> Increase motion speed while held </td></tr>
<tr><td> Control </td><td> Decrease motion speed while held </td></tr>
<tr><td> Shift </td><td> Decrease motion speed while held </td></tr>
<tr><td> Control </td><td> Increase motion speed while held </td></tr>
</table>
</p>

View File

@ -1331,9 +1331,9 @@ void CryptoCityUrho3D::MoveCamera(float timeStep)
float speed = 1.0f;
if (input->GetQualifierDown(QUAL_SHIFT))
speed /= 10.0f;
if (input->GetQualifierDown(QUAL_CTRL))
speed *= 10.0f;
if (input->GetQualifierDown(QUAL_CTRL))
speed /= 10.0f;
if (IsActionActive(Controls::ACTION_LOOK_DOWN))
pitch += KEYBOARD_SENSITIVITY * timeStep * speed;