aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-31 12:26:12 +0000
committerNicola Mettifogo2008-07-31 12:26:12 +0000
commit591973c827c60648b6d94e2bca44fd1df49ed2f5 (patch)
tree3bac8bf7950d604c8b74b9b3e8e8fb195d717ebc /engines/parallaction/parallaction.cpp
parent538fdcc61a801573f9f42bf928efe720c5f6bbd9 (diff)
downloadscummvm-rg350-591973c827c60648b6d94e2bca44fd1df49ed2f5.tar.gz
scummvm-rg350-591973c827c60648b6d94e2bca44fd1df49ed2f5.tar.bz2
scummvm-rg350-591973c827c60648b6d94e2bca44fd1df49ed2f5.zip
Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all z-buffering.
svn-id: r33468
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r--engines/parallaction/parallaction.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 54cb175e46..e13d2f9aa4 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -264,7 +264,6 @@ void Parallaction::freeLocation() {
_location._walkPoints.clear();
_gfx->clearGfxObjects(kGfxObjNormal);
- freeBackground();
_location._programs.clear();
freeZones();
@@ -284,7 +283,6 @@ void Parallaction::freeLocation() {
void Parallaction::freeBackground() {
- _gfx->freeBackground();
_pathBuffer = 0;
}
@@ -292,7 +290,7 @@ void Parallaction::freeBackground() {
void Parallaction::setBackground(const char* name, const char* mask, const char* path) {
_gfx->setBackground(kBackgroundLocation, name, mask, path);
- _pathBuffer = &_gfx->_backgroundInfo.path;
+ _pathBuffer = &_gfx->_backgroundInfo->path;
return;
}