diff options
author | Einar Johan Trøan Sømåen | 2012-09-29 00:47:12 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-09-29 00:47:12 +0200 |
commit | afc21941e37a7481f5fe050d220968bdce43c873 (patch) | |
tree | f26f49578f9b10aa19aabcf8704f6e372a93c713 /engines/wintermute/ad/ad_region.h | |
parent | 67a7f5b3063c8d9634f43ee36ba26b18c2e6cd11 (diff) | |
download | scummvm-rg350-afc21941e37a7481f5fe050d220968bdce43c873.tar.gz scummvm-rg350-afc21941e37a7481f5fe050d220968bdce43c873.tar.bz2 scummvm-rg350-afc21941e37a7481f5fe050d220968bdce43c873.zip |
WINTERMUTE: Make scGetProperty use Common::String& instead of const char*
Diffstat (limited to 'engines/wintermute/ad/ad_region.h')
-rw-r--r-- | engines/wintermute/ad/ad_region.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_region.h b/engines/wintermute/ad/ad_region.h index a60cb9a3f2..6112900361 100644 --- a/engines/wintermute/ad/ad_region.h +++ b/engines/wintermute/ad/ad_region.h @@ -47,7 +47,7 @@ public: virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); // scripting interface - virtual ScValue *scGetProperty(const char *name); + virtual ScValue *scGetProperty(const Common::String &name); virtual bool scSetProperty(const char *name, ScValue *value); virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name); virtual const char *scToString(); |