From 4a8080dcf73dab2b6e62b8500fec3bb996bcbf17 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 2 Apr 2013 22:25:24 +0200 Subject: Fixed multiple warnings and errors that blocked c++0x This allows the server to compile with c++0x (and enables it). This also includes some coding style / readabillity fixes. --- src/scripting/lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripting/lua.cpp') diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index cbdb088..a02f84e 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; } -- cgit