aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_inventory_box.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-26 20:49:59 +0200
committerEinar Johan Trøan Sømåen2012-07-26 20:49:59 +0200
commit2c530bc6edc9ffd95fa86488a663e67d2735041f (patch)
tree52386c21252db1ec6333b89e12a84dbb5d5d11bd /engines/wintermute/ad/ad_inventory_box.cpp
parent4eda234611bd77f053defe9e61d592b308270eaa (diff)
downloadscummvm-rg350-2c530bc6edc9ffd95fa86488a663e67d2735041f.tar.gz
scummvm-rg350-2c530bc6edc9ffd95fa86488a663e67d2735041f.tar.bz2
scummvm-rg350-2c530bc6edc9ffd95fa86488a663e67d2735041f.zip
WINTERMUTE: var_name -> varName
Diffstat (limited to 'engines/wintermute/ad/ad_inventory_box.cpp')
-rw-r--r--engines/wintermute/ad/ad_inventory_box.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/ad/ad_inventory_box.cpp b/engines/wintermute/ad/ad_inventory_box.cpp
index b8a3f1da22..80929bcb7b 100644
--- a/engines/wintermute/ad/ad_inventory_box.cpp
+++ b/engines/wintermute/ad/ad_inventory_box.cpp
@@ -223,7 +223,7 @@ bool AdInventoryBox::loadBuffer(byte *buffer, bool complete) {
byte *params;
int cmd = 2;
BaseParser parser(_gameRef);
- bool always_visible = false;
+ bool alwaysVisible = false;
_exclusive = false;
if (complete) {
@@ -275,7 +275,7 @@ bool AdInventoryBox::loadBuffer(byte *buffer, bool complete) {
break;
case TOKEN_ALWAYS_VISIBLE:
- parser.scanStr((char *)params, "%b", &always_visible);
+ parser.scanStr((char *)params, "%b", &alwaysVisible);
break;
case TOKEN_SPACING:
@@ -318,7 +318,7 @@ bool AdInventoryBox::loadBuffer(byte *buffer, bool complete) {
}
}
- _visible = always_visible;
+ _visible = alwaysVisible;
if (_window) {
for (int i = 0; i < _window->_widgets.getSize(); i++) {