diff options
Diffstat (limited to 'engines/dm/menus.cpp')
-rw-r--r-- | engines/dm/menus.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/dm/menus.cpp b/engines/dm/menus.cpp index 4e079e4263..d7948c25e4 100644 --- a/engines/dm/menus.cpp +++ b/engines/dm/menus.cpp @@ -1,5 +1,7 @@ #include "menus.h" #include "gfx.h" +#include "champion.h" +#include "dungeonman.h" namespace DM { @@ -14,5 +16,15 @@ void MenuMan::drawMovementArrows() { disp.blitToScreen(arrowsBitmap, w, 0, 0, dest._x1, dest._x2, dest._y1, dest._y2, kColorNoTransparency); } +void MenuMan::clearActingChampion() { + ChampionMan &cm = *_vm->_championMan; + if (cm._actingChampionOrdinal) { + cm._actingChampionOrdinal--; + cm._champions[cm._actingChampionOrdinal].setAttributeFlag(kChampionAttributeActionHand, true); + warning("MISSING CODE: F0292_CHAMPION_DrawState"); + cm._actingChampionOrdinal = indexToOrdinal(kChampionNone); + _shouldRefreshActionArea = true; + } +} }
\ No newline at end of file |