summaryrefslogtreecommitdiff
path: root/src/scripting/lua.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/lua.cpp')
-rw-r--r--src/scripting/lua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index cbdb088c..a02f84e4 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -1650,7 +1650,7 @@ static int chr_warp(lua_State *s)
x *= map->getTileWidth();
y *= map->getTileHeight();
}
- GameState::enqueueWarp(q, m, x, y);
+ GameState::enqueueWarp(q, m, Point(x, y));
return 0;
}