summary refs log tree commit diff stats
path: root/src/game.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-14 17:55:38 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-14 17:55:38 -0400
commita3b8f0972ea1bbaa456a0c3ae70621e91a2c3ce7 (patch)
treeb898e9b1e22afa6529a62a30e89d007a61e9a9c1 /src/game.cpp
parent7e89f42c388b92f264f58c4750e8529745a1f9f4 (diff)
downloadether-a3b8f0972ea1bbaa456a0c3ae70621e91a2c3ce7.tar.gz
ether-a3b8f0972ea1bbaa456a0c3ae70621e91a2c3ce7.tar.bz2
ether-a3b8f0972ea1bbaa456a0c3ae70621e91a2c3ce7.zip
fixed flickering while walking
sort of. the (intentional) dust flicker is still there. might want to remove the player trailing dust as they walk.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index af57b56..beabc55 100644 --- a/src/game.cpp +++ b/src/game.cpp
@@ -138,7 +138,7 @@ bool Game::movePlayer(int x, int y)
138 player_y = y; 138 player_y = y;
139 muxer.setPlayerLoc(x, y); 139 muxer.setPlayerLoc(x, y);
140 moving = true; 140 moving = true;
141 moveProgress.start(66); 141 moveProgress.start(1000/6);
142 dirtyLighting = true; 142 dirtyLighting = true;
143 143
144 int chunkX, chunkY, old_chunkX, old_chunkY; 144 int chunkX, chunkY, old_chunkX, old_chunkY;