aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/BScriptHolder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/BScriptHolder.cpp')
-rw-r--r--engines/wintermute/BScriptHolder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/BScriptHolder.cpp b/engines/wintermute/BScriptHolder.cpp
index a976ae89bb..6210ba2f38 100644
--- a/engines/wintermute/BScriptHolder.cpp
+++ b/engines/wintermute/BScriptHolder.cpp
@@ -106,7 +106,7 @@ HRESULT CBScriptHolder::Listen(CBScriptHolder *param1, uint32 param2) {
//////////////////////////////////////////////////////////////////////////
// high level scripting interface
//////////////////////////////////////////////////////////////////////////
-HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, char *Name) {
+HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name) {
//////////////////////////////////////////////////////////////////////////
// DEBUG_CrashMe
//////////////////////////////////////////////////////////////////////////
@@ -205,7 +205,7 @@ HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStac
//////////////////////////////////////////////////////////////////////////
-CScValue *CBScriptHolder::ScGetProperty(char *Name) {
+CScValue *CBScriptHolder::ScGetProperty(const char *Name) {
_scValue->SetNULL();
//////////////////////////////////////////////////////////////////////////
@@ -237,7 +237,7 @@ CScValue *CBScriptHolder::ScGetProperty(char *Name) {
//////////////////////////////////////////////////////////////////////////
-HRESULT CBScriptHolder::ScSetProperty(char *Name, CScValue *Value) {
+HRESULT CBScriptHolder::ScSetProperty(const char *Name, CScValue *Value) {
//////////////////////////////////////////////////////////////////////////
// Name
//////////////////////////////////////////////////////////////////////////