summaryrefslogtreecommitdiffhomepage
path: root/src/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.cpp')
-rw-r--r--src/character.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/character.cpp b/src/character.cpp
index 18472954..a0bfbbd6 100644
--- a/src/character.cpp
+++ b/src/character.cpp
@@ -10,8 +10,7 @@ namespace floormat {
namespace {
-template <typename T>
-constexpr T sgn(T val) { return T(T(0) < val) - T(val < T(0)); }
+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;