From d811a539474a6eeb4439a4204f3d96551a5b7c1e Mon Sep 17 00:00:00 2001 From: Rogier Polak Date: Mon, 5 Mar 2007 03:32:59 +0000 Subject: Added an abstrart base class for characterdata, in order to use the same serialize and deserialize functions on both the accountserver and the gameserver. --- src/game-server/testing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game-server/testing.cpp') diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp index 4f269e2..b48a7e7 100644 --- a/src/game-server/testing.cpp +++ b/src/game-server/testing.cpp @@ -20,7 +20,7 @@ static void dropItem(int map, int x, int y, int type) assert(ic); Item *i = new Item(ic, 1); i->setMapId(map); - Point pos = { x, y }; + Point pos(x, y); i->setPosition(pos); gameState->insert(i); } @@ -39,7 +39,7 @@ void testingMap(int id) being->setSize(8); being->setHitpoints(3); being->setMapId(1); - Point pos = { 720, 900 }; + Point pos(720, 900); being->setPosition(pos); gameState->insert(being); } -- cgit