From e373442901064d07791c9739daa380acb1dfbb8c Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 18 Apr 2011 01:43:28 +0200 Subject: few bot improvements --- pacman-c++/sceneholder.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pacman-c++/sceneholder.cpp') diff --git a/pacman-c++/sceneholder.cpp b/pacman-c++/sceneholder.cpp index 6879ea1..578b0df 100644 --- a/pacman-c++/sceneholder.cpp +++ b/pacman-c++/sceneholder.cpp @@ -138,14 +138,14 @@ void SceneHolder::updateMap(const Transmission::map_t& map, const unsigned int x Actor::Movement direction = Util::transmissionMovementToActor( cur & Transmission::direction_mask); /* WARNING: do NOT add actor to visualMap as visualMap-items may - * get deleted during update and actors are referenced in_mactors too - * if you REALLY need that you need to changed updateMap so that all actors - * will be moved before any new items get allocated (totally untested) - */ + * get deleted during update and actors are referenced in_mactors too + * if you REALLY need that you need to changed updateMap so that all actors + * will be moved before any new items get allocated (totally untested) + */ actor->move(direction); /* that's kind a hack but working right now - * I think that will fall on our's hat sooner or later - */ + * I think that will fall on our's hat sooner or later + */ if (!(cur & Transmission::empty)) actor->stopEating(); qDebug() << "[SceneUpdate] actor moves: color=" << color -- cgit v1.2.3