aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/AdItem.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-11 15:24:49 +0200
committerEinar Johan Trøan Sømåen2012-06-02 12:59:27 +0200
commit2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (patch)
tree5806d048012de970f40867d0b1f246484910772c /engines/wintermute/AdItem.cpp
parentded3c2a4b47a34c93c8129c58feedf2bcecd848b (diff)
downloadscummvm-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/AdItem.cpp')
-rw-r--r--engines/wintermute/AdItem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/AdItem.cpp b/engines/wintermute/AdItem.cpp
index 71f13d7c03..cc88b8bb3c 100644
--- a/engines/wintermute/AdItem.cpp
+++ b/engines/wintermute/AdItem.cpp
@@ -428,7 +428,7 @@ HRESULT CAdItem::Display(int X, int Y) {
//////////////////////////////////////////////////////////////////////////
// high level scripting interface
//////////////////////////////////////////////////////////////////////////
-HRESULT CAdItem::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, char *Name) {
+HRESULT CAdItem::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name) {
//////////////////////////////////////////////////////////////////////////
// SetHoverSprite
//////////////////////////////////////////////////////////////////////////
@@ -566,7 +566,7 @@ HRESULT CAdItem::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *This
//////////////////////////////////////////////////////////////////////////
-CScValue *CAdItem::ScGetProperty(char *Name) {
+CScValue *CAdItem::ScGetProperty(const char *Name) {
_scValue->SetNULL();
//////////////////////////////////////////////////////////////////////////
@@ -647,7 +647,7 @@ CScValue *CAdItem::ScGetProperty(char *Name) {
//////////////////////////////////////////////////////////////////////////
-HRESULT CAdItem::ScSetProperty(char *Name, CScValue *Value) {
+HRESULT CAdItem::ScSetProperty(const char *Name, CScValue *Value) {
//////////////////////////////////////////////////////////////////////////
// Name
//////////////////////////////////////////////////////////////////////////