aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/SXMath.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2012-04-28 01:00:14 +0300
committerEinar Johan Trøan Sømåen2012-06-02 12:42:08 +0200
commit28c78b956dac6ee59d066f7ff2499569fe9877c7 (patch)
tree07e37e79e5610d3f21d22a8243083b78e09f8542 /engines/wintermute/scriptables/SXMath.cpp
parent84fd9d0daca1846829b077aa18a7634df5e5ef9e (diff)
downloadscummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.gz
scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.bz2
scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.zip
WINTERMUTE: Mass rename m_FooBar -> _fooBar
Diffstat (limited to 'engines/wintermute/scriptables/SXMath.cpp')
-rw-r--r--engines/wintermute/scriptables/SXMath.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/scriptables/SXMath.cpp b/engines/wintermute/scriptables/SXMath.cpp
index 48e722a02c..fcc85d527c 100644
--- a/engines/wintermute/scriptables/SXMath.cpp
+++ b/engines/wintermute/scriptables/SXMath.cpp
@@ -246,25 +246,25 @@ HRESULT CSXMath::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *This
//////////////////////////////////////////////////////////////////////////
CScValue *CSXMath::ScGetProperty(char *Name) {
- m_ScValue->SetNULL();
+ _scValue->SetNULL();
//////////////////////////////////////////////////////////////////////////
// Type
//////////////////////////////////////////////////////////////////////////
if (strcmp(Name, "Type") == 0) {
- m_ScValue->SetString("math");
- return m_ScValue;
+ _scValue->SetString("math");
+ return _scValue;
}
//////////////////////////////////////////////////////////////////////////
// PI
//////////////////////////////////////////////////////////////////////////
else if (strcmp(Name, "PI") == 0) {
- m_ScValue->SetFloat(PI);
- return m_ScValue;
+ _scValue->SetFloat(PI);
+ return _scValue;
}
- else return m_ScValue;
+ else return _scValue;
}