From d5c1f8b8d645136cf72981186db6e81b2082b773 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 28 Jun 2015 13:29:32 -0400 Subject: SHERLOCK: RT: Implement initial inventory --- engines/sherlock/tattoo/widget_verbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock/tattoo/widget_verbs.cpp') 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); -- cgit v1.2.3