diff options
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r-- | engines/xeen/town.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp index b28300f2a3..303ef50699 100644 --- a/engines/xeen/town.cpp +++ b/engines/xeen/town.cpp @@ -1249,6 +1249,13 @@ void Town::drawTownAnim(bool flag) { screen._windows[3].update(); } +/** + * Returns true if a town location (bank, blacksmith, etc.) is currently active + */ +bool Town::isActive() const { + return _townSprites.size() > 0 && !_townSprites[0].empty(); +} + Character *Town::showItems(Character *c, int v2) { error("TODO: showItems"); } |