aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_card.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-08-07 21:26:38 +0200
committerBastien Bouclet2017-08-10 19:02:10 +0200
commit5a4400e390faa9a0ee27b4d7f3207253d1342a2a (patch)
tree52ec4fedd7840ad8e616e79e3cf91d0b9e50a263 /engines/mohawk/riven_card.h
parentc278be9f6f4a2f631855f064cdb4c35d880e15c3 (diff)
downloadscummvm-rg350-5a4400e390faa9a0ee27b4d7f3207253d1342a2a.tar.gz
scummvm-rg350-5a4400e390faa9a0ee27b4d7f3207253d1342a2a.tar.bz2
scummvm-rg350-5a4400e390faa9a0ee27b4d7f3207253d1342a2a.zip
MOHAWK: Riven: Stop using varargs to list hotspot names
One call to va_end was missing when returning early. This stuff is too dangerous for me to use.
Diffstat (limited to 'engines/mohawk/riven_card.h')
-rw-r--r--engines/mohawk/riven_card.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_card.h b/engines/mohawk/riven_card.h
index c5a5795eaa..b11363c916 100644
--- a/engines/mohawk/riven_card.h
+++ b/engines/mohawk/riven_card.h
@@ -102,7 +102,7 @@ public:
RivenHotspot *getHotspotByName(const Common::String &name, bool optional = false) const;
/** Find an enabled hotspot with a name matching one of the arguments */
- RivenHotspot *findEnabledHotspotByName(uint n, ...) const;
+ RivenHotspot *findEnabledHotspotByName(const char **names) const;
/** Get the hotspot with the specified BLST id */
RivenHotspot *getHotspotByBlstId(const uint16 blstId) const;