aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad/AdWaypointGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Ad/AdWaypointGroup.cpp')
-rw-r--r--engines/wintermute/Ad/AdWaypointGroup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/Ad/AdWaypointGroup.cpp b/engines/wintermute/Ad/AdWaypointGroup.cpp
index f3dd9581b6..da21cf0ba6 100644
--- a/engines/wintermute/Ad/AdWaypointGroup.cpp
+++ b/engines/wintermute/Ad/AdWaypointGroup.cpp
@@ -201,13 +201,13 @@ HRESULT CAdWaypointGroup::persist(CBPersistMgr *persistMgr) {
//////////////////////////////////////////////////////////////////////////
CScValue *CAdWaypointGroup::scGetProperty(const char *name) {
- _scValue->SetNULL();
+ _scValue->setNULL();
//////////////////////////////////////////////////////////////////////////
// Type
//////////////////////////////////////////////////////////////////////////
if (strcmp(name, "Type") == 0) {
- _scValue->SetString("waypoint-group");
+ _scValue->setString("waypoint-group");
return _scValue;
}
@@ -215,7 +215,7 @@ CScValue *CAdWaypointGroup::scGetProperty(const char *name) {
// Active
//////////////////////////////////////////////////////////////////////////
else if (strcmp(name, "Active") == 0) {
- _scValue->SetBool(_active);
+ _scValue->setBool(_active);
return _scValue;
}
@@ -229,7 +229,7 @@ HRESULT CAdWaypointGroup::scSetProperty(const char *name, CScValue *value) {
// Active
//////////////////////////////////////////////////////////////////////////
if (strcmp(name, "Active") == 0) {
- _active = value->GetBool();
+ _active = value->getBool();
return S_OK;
}