aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/visa2.cpp
diff options
context:
space:
mode:
authoruruk2013-07-24 19:43:10 +0200
committeruruk2013-07-24 19:43:10 +0200
commit39dfddff1f3d35c889e1a0ea7053a4e648e036fa (patch)
tree62b9a4656f8cbf7576f9159537171563c9fd55f8 /engines/avalanche/visa2.cpp
parentc0823f3e79bb17369904f704a27fad8127faeb9e (diff)
downloadscummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.tar.gz
scummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.tar.bz2
scummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.zip
AVALANCHE: Change class variables to pointers, update everything accordingly.
Diffstat (limited to 'engines/avalanche/visa2.cpp')
-rw-r--r--engines/avalanche/visa2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/visa2.cpp b/engines/avalanche/visa2.cpp
index 935959533f..4ffedc236d 100644
--- a/engines/avalanche/visa2.cpp
+++ b/engines/avalanche/visa2.cpp
@@ -41,7 +41,7 @@
namespace Avalanche {
- void Visa::setParent(AvalancheEngine *vm) {
+ Visa::Visa(AvalancheEngine *vm) {
_vm = vm;
}
@@ -86,7 +86,7 @@ namespace Avalanche {
if (report_dixi_errors) {
Common::String todisplay;
todisplay.format("%cError accessing scroll %c%s", 7, block, _vm->_gyro->strf(point).c_str());
- _vm->_scrolls.display(todisplay);
+ _vm->_scrolls->display(todisplay);
}
return;
}
@@ -103,7 +103,7 @@ namespace Avalanche {
if (bubbling) do_the_bubble();
- _vm->_scrolls.calldrivers();
+ _vm->_scrolls->calldrivers();
}
void Visa::speech(byte who, byte subject) {
@@ -152,7 +152,7 @@ namespace Avalanche {
unskrimble();
do_the_bubble();
- _vm->_scrolls.calldrivers();
+ _vm->_scrolls->calldrivers();
went_ok = true;
}