From e79b3dfd414773942fcf42f5d3ba57dd59047d1f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 8 Jul 2006 08:30:14 +0000 Subject: Added shortcut stub for decoding a string without passing the current hotspot and action name svn-id: r23407 --- engines/lure/strings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/lure/strings.h b/engines/lure/strings.h index 03c1da2440..3fe43c2fa2 100644 --- a/engines/lure/strings.h +++ b/engines/lure/strings.h @@ -59,6 +59,9 @@ public: static StringData &getReference(); void getString(uint16 stringId, char *dest, const char *hotspotName, const char *actionName); + void getString(uint16 stringId, char *dest) { + getString(stringId, dest, NULL, NULL); + } char *getName(uint8 nameIndex); }; -- cgit v1.2.3