diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 20:38:33 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 20:38:33 -0400 |
| commit | 6cb4164c911d04fdb3c1da1d91296a1059f67635 (patch) | |
| tree | e194ad3c1c1686cd56dd9445f6c2f9cb0b50205d /src | |
| parent | e5fc5bccff29bce3de09209707cf8dbe14a80b35 (diff) | |
| download | ether-6cb4164c911d04fdb3c1da1d91296a1059f67635.tar.gz ether-6cb4164c911d04fdb3c1da1d91296a1059f67635.tar.bz2 ether-6cb4164c911d04fdb3c1da1d91296a1059f67635.zip | |
dashes should still happen when game lags
Diffstat (limited to 'src')
| -rw-r--r-- | src/game.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
| diff --git a/src/game.cpp b/src/game.cpp index 98745f4..ca1f0f3 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
| @@ -875,7 +875,7 @@ void Game::updatePlaying(size_t frameTime) { | |||
| 875 | 875 | ||
| 876 | while (inputTimer.step()) | 876 | while (inputTimer.step()) |
| 877 | { | 877 | { |
| 878 | if (!moving) { | 878 | if (!moving && !queueDash) { |
| 879 | processKeys(keystate); | 879 | processKeys(keystate); |
| 880 | } | 880 | } |
| 881 | } | 881 | } |
| @@ -1075,19 +1075,6 @@ void Game::updatePlaying(size_t frameTime) { | |||
| 1075 | recalculateRender(); | 1075 | recalculateRender(); |
| 1076 | } | 1076 | } |
| 1077 | 1077 | ||
| 1078 | /*zoomTimer.accumulate(frameTime); | ||
| 1079 | while (zoomTimer.step()) | ||
| 1080 | { | ||
| 1081 | if (zooming) | ||
| 1082 | { | ||
| 1083 | zoomProgress++; | ||
| 1084 | |||
| 1085 | if (zoomProgress == zoomLength) | ||
| 1086 | { | ||
| 1087 | zooming = false; | ||
| 1088 | } | ||
| 1089 | } | ||
| 1090 | }*/ | ||
| 1091 | if (zooming) { | 1078 | if (zooming) { |
| 1092 | zoomProgress.tick(frameTime); | 1079 | zoomProgress.tick(frameTime); |
| 1093 | if (zoomProgress.isComplete()) { | 1080 | if (zoomProgress.isComplete()) { |
