diff options
author | Paul Gilbert | 2015-01-28 20:59:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-28 20:59:36 -0500 |
commit | 60c462bfdcb9cb342ccb3367b64c599144f70e57 (patch) | |
tree | 69dddd945850d91976ad7b94b3b88d035b3176d5 /engines/xeen/town.cpp | |
parent | 1f28332b2053f2dbbe138937f9b0e342774a4cc9 (diff) | |
download | scummvm-rg350-60c462bfdcb9cb342ccb3367b64c599144f70e57.tar.gz scummvm-rg350-60c462bfdcb9cb342ccb3367b64c599144f70e57.tar.bz2 scummvm-rg350-60c462bfdcb9cb342ccb3367b64c599144f70e57.zip |
XEEN: Fixes for tavern 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"); } |