diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/intern_he.h | 2 | ||||
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/intern_he.h b/engines/scumm/he/intern_he.h index 8a562ea7b5..bd3cdb2c57 100644 --- a/engines/scumm/he/intern_he.h +++ b/engines/scumm/he/intern_he.h @@ -291,7 +291,7 @@ public: virtual byte *getStringAddress(ResId idx); virtual int setupStringArray(int size); - virtual int setupStringArrayFromString(char *cStr); + virtual int setupStringArrayFromString(const char *cStr); virtual void getStringFromArray(int arrayNumber, char *buffer, int maxLength); protected: diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index c764de7da1..a922af1671 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -230,7 +230,7 @@ int ScummEngine_v72he::setupStringArray(int size) { return readVar(0); } -int ScummEngine_v72he::setupStringArrayFromString(char *cStr) { +int ScummEngine_v72he::setupStringArrayFromString(const char *cStr) { // this is PUI_ScummStringArrayFromCString() found in PUSERMAC.cpp // I can see how its done up there in setupStringArray() // yet I'd note that 'SCUMMVAR_user_reserved' var was used instead of 0 |