From f269d5a68e6a22676c49961c7529b9c00dc90649 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 9 May 2010 14:31:43 -0600 Subject: Move target cursor management into ActorSprite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This simplifies handling of target cursors, centralizing their logic into a single class, instead of two. Also make them more flexible and move the image files outside of the theme so servers can can control them and give them better names. Reviewed-by: Thorbjørn Lindeijer --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 74997b90..b75d3cdf 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -21,6 +21,7 @@ #include "game.h" +#include "actorsprite.h" #include "beingmanager.h" #include "channelmanager.h" #include "client.h" @@ -334,6 +335,7 @@ void Game::logic() handleInput(); // Handle all necessary game logic + ActorSprite::actorLogic(); beingManager->logic(); floorItemManager->logic(); particleEngine->update(); -- cgit v1.2.3-70-g09d2