diff options
author | Paul Gilbert | 2015-06-28 13:29:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-28 13:29:32 -0400 |
commit | d5c1f8b8d645136cf72981186db6e81b2082b773 (patch) | |
tree | fbf461f7cb4650ee7d003b8d94ea976ad02d916f /engines/sherlock/tattoo/widget_verbs.cpp | |
parent | 631be5b6585e28b5e60aa0ff3be9f8e35d4316a2 (diff) | |
download | scummvm-rg350-d5c1f8b8d645136cf72981186db6e81b2082b773.tar.gz scummvm-rg350-d5c1f8b8d645136cf72981186db6e81b2082b773.tar.bz2 scummvm-rg350-d5c1f8b8d645136cf72981186db6e81b2082b773.zip |
SHERLOCK: RT: Implement initial inventory
Diffstat (limited to 'engines/sherlock/tattoo/widget_verbs.cpp')
-rw-r--r-- | engines/sherlock/tattoo/widget_verbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp index 159965865a..2eaa70b8ef 100644 --- a/engines/sherlock/tattoo/widget_verbs.cpp +++ b/engines/sherlock/tattoo/widget_verbs.cpp @@ -136,7 +136,7 @@ void WidgetVerbs::render() { _surface.writeString(_verbCommands[idx], Common::Point((_bounds.width() - _surface.stringWidth(_verbCommands[idx])) / 2, (_surface.fontHeight() + 7) * idx + 5), INFO_TOP); - if (idx < ((int)_verbCommands.size() - 1)) { + if (idx < (_verbCommands.size() - 1)) { _surface.hLine(3, (_surface.fontHeight() + 7) * (idx + 1), _bounds.width() - 4, INFO_TOP); _surface.hLine(3, (_surface.fontHeight() + 7) * (idx + 1) + 1, _bounds.width() - 4, INFO_MIDDLE); _surface.hLine(3, (_surface.fontHeight() + 7) * (idx + 1) + 2, _bounds.width() - 4, INFO_BOTTOM); |