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/AdItem.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/AdItem.cpp')
-rw-r--r-- | engines/wintermute/AdItem.cpp | 6 |
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
//////////////////////////////////////////////////////////////////////////
|