diff options
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); } |
