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/game-server/character.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game-server/character.cpp') diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp index 994e3311..e52747fd 100644 --- a/src/game-server/character.cpp +++ b/src/game-server/character.cpp @@ -223,7 +223,8 @@ void Character::respawn() int spawnX = Configuration::getValue("char_respawnX", 1024); int spawnY = Configuration::getValue("char_respawnY", 1024); - GameState::enqueueWarp(this, MapManager::getMap(spawnMap), spawnX, spawnY); + GameState::enqueueWarp(this, MapManager::getMap(spawnMap), + Point(spawnX, spawnY)); } bool Character::specialUseCheck(SpecialMap::iterator it) -- cgit v1.2.3-60-g2f50