diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 18:58:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 19:08:03 +0200 |
commit | 38efeacfd21be1c44d51b18fe9a11b0624a77cda (patch) | |
tree | ad6b8632d302836e968db0115a3357694c948d5c /src/character.cpp | |
parent | ee38547c4f22ed48572a605ca71f26bd374a90ba (diff) |
aaaa
Diffstat (limited to 'src/character.cpp')
-rw-r--r-- | src/character.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.cpp b/src/character.cpp index a2098788..88b55d45 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -17,7 +17,7 @@ namespace { template <typename T> constexpr T sgn(T val) { return T(T(0) < val) - T(val < T(0)); } constexpr int tile_size_1 = iTILE_SIZE2.sum()/2, - framerate = 96, move_speed = tile_size_1 * 2; + framerate = 96 * 3, move_speed = tile_size_1 * 2 * 3; constexpr float frame_time = 1.f/framerate; constexpr auto arrows_to_dir(bool left, bool right, bool up, bool down) |