diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-09 19:20:13 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-09 19:20:13 +0200 |
| commit | 4f88849caf6533d965849952c9ea153fd8c518c5 (patch) | |
| tree | 809d22c6a8fab16dc32eaf0c22fb65d57640f72f /pacman-c++/sceneholder.cpp | |
| parent | 4e3c33632e811d5b57c9b61ec7f219fa06856fd2 (diff) | |
| download | foop-4f88849caf6533d965849952c9ea153fd8c518c5.tar.gz foop-4f88849caf6533d965849952c9ea153fd8c518c5.tar.bz2 foop-4f88849caf6533d965849952c9ea153fd8c518c5.zip | |
first version of multiplayer
Diffstat (limited to 'pacman-c++/sceneholder.cpp')
| -rw-r--r-- | pacman-c++/sceneholder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/sceneholder.cpp b/pacman-c++/sceneholder.cpp index 0cb7d15..515d5ec 100644 --- a/pacman-c++/sceneholder.cpp +++ b/pacman-c++/sceneholder.cpp | |||
| @@ -78,7 +78,8 @@ void SceneHolder::updateMap(const Transmission::map_t& map) | |||
| 78 | 78 | ||
| 79 | Actor::Movement direction = | 79 | Actor::Movement direction = |
| 80 | Util::transmissionMovementToActor(cur & Transmission::direction_mask); | 80 | Util::transmissionMovementToActor(cur & Transmission::direction_mask); |
| 81 | //actor->move(direction, mapPositionToCoord(x, y)); | 81 | actor->move(direction); |
| 82 | qDebug() << "actor move " << direction; | ||
| 82 | } | 83 | } |
| 83 | else { | 84 | else { |
| 84 | qDebug() << "abort at " << cur; | 85 | qDebug() << "abort at " << cur; |
