diff options
| author | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-03-05 03:32:59 +0000 |
|---|---|---|
| committer | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-03-05 03:32:59 +0000 |
| commit | d811a539474a6eeb4439a4204f3d96551a5b7c1e (patch) | |
| tree | 66b2482085965598845a0e58fa04d1bcdb6dd5a1 /src/game-server/testing.cpp | |
| parent | f0d969eba1840362daad9debc93907c270b22ea5 (diff) | |
Added an abstrart base class for characterdata, in order to use the same serialize and deserialize functions on both the accountserver and the gameserver.
Diffstat (limited to 'src/game-server/testing.cpp')
| -rw-r--r-- | src/game-server/testing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
