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/state.cpp | |
parent | f0d969eba1840362daad9debc93907c270b22ea5 (diff) | |
download | manaserv-d811a539474a6eeb4439a4204f3d96551a5b7c1e.tar.gz manaserv-d811a539474a6eeb4439a4204f3d96551a5b7c1e.tar.bz2 manaserv-d811a539474a6eeb4439a4204f3d96551a5b7c1e.tar.xz manaserv-d811a539474a6eeb4439a4204f3d96551a5b7c1e.zip |
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/state.cpp')
-rw-r--r-- | src/game-server/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp index 09513b95..0c392da8 100644 --- a/src/game-server/state.cpp +++ b/src/game-server/state.cpp @@ -318,7 +318,7 @@ void State::update() case EVENT_WARP: { remove(o); - Point pos = { e.x, e.y }; + Point pos(e.x, e.y); o->setMapId(e.map); o->setPosition(pos); |