summaryrefslogtreecommitdiff
path: root/client/movement.lua
diff options
context:
space:
mode:
Diffstat (limited to 'client/movement.lua')
-rw-r--r--client/movement.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/movement.lua b/client/movement.lua
index 3c9f104..33e0532 100644
--- a/client/movement.lua
+++ b/client/movement.lua
@@ -64,7 +64,7 @@ local function hex_sdgf(pos, hex)
return hex_sdgf_00(pos-hex:to_pos())
end
-local PLAYER_SIZE = 0.35
+local PLAYER_SIZE = require"common.constants".PLAYER_SIZE
local function collide_with_terrain(old_pos, try_pos, map, tries_remaining)
tries_remaining = tries_remaining or 3
if tries_remaining <= 0 then return old_pos end