diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 15:24:49 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:59:27 +0200 |
commit | 2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (patch) | |
tree | 5806d048012de970f40867d0b1f246484910772c /engines/wintermute/AdActor.cpp | |
parent | ded3c2a4b47a34c93c8129c58feedf2bcecd848b (diff) | |
download | scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.tar.gz scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.tar.bz2 scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.zip |
WINTERMUTE: Add const to even more char* (Possibly the last ones)
Diffstat (limited to 'engines/wintermute/AdActor.cpp')
-rw-r--r-- | engines/wintermute/AdActor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/AdActor.cpp b/engines/wintermute/AdActor.cpp index a020556dd7..d957d08b8c 100644 --- a/engines/wintermute/AdActor.cpp +++ b/engines/wintermute/AdActor.cpp @@ -870,7 +870,7 @@ void CAdActor::InitLine(CBPoint StartPt, CBPoint EndPt) { //////////////////////////////////////////////////////////////////////////
// high level scripting interface
//////////////////////////////////////////////////////////////////////////
-HRESULT CAdActor::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, char *Name) {
+HRESULT CAdActor::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name) {
//////////////////////////////////////////////////////////////////////////
// GoTo / GoToAsync
//////////////////////////////////////////////////////////////////////////
@@ -993,7 +993,7 @@ HRESULT CAdActor::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *Thi //////////////////////////////////////////////////////////////////////////
-CScValue *CAdActor::ScGetProperty(char *Name) {
+CScValue *CAdActor::ScGetProperty(const char *Name) {
_scValue->SetNULL();
//////////////////////////////////////////////////////////////////////////
@@ -1055,7 +1055,7 @@ CScValue *CAdActor::ScGetProperty(char *Name) { //////////////////////////////////////////////////////////////////////////
-HRESULT CAdActor::ScSetProperty(char *Name, CScValue *Value) {
+HRESULT CAdActor::ScSetProperty(const char *Name, CScValue *Value) {
//////////////////////////////////////////////////////////////////////////
// Direction
//////////////////////////////////////////////////////////////////////////
|