aboutsummaryrefslogtreecommitdiff
path: root/gui.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-06-27 14:10:56 +0000
committerVincent Hamm2002-06-27 14:10:56 +0000
commita88b78fc371e08f73839c564726f96358f84a8b1 (patch)
tree9b4b3317b491e36abe0ddc000b8cbdd62a1021bc /gui.cpp
parenta1ccc73112525275917472a8c13be9f048cdee6b (diff)
downloadscummvm-rg350-a88b78fc371e08f73839c564726f96358f84a8b1.tar.gz
scummvm-rg350-a88b78fc371e08f73839c564726f96358f84a8b1.tar.bz2
scummvm-rg350-a88b78fc371e08f73839c564726f96358f84a8b1.zip
Fixed the gost animation background reset. Made a little tweak to draw the gui in vertical rooms (not 100% working)
svn-id: r4435
Diffstat (limited to 'gui.cpp')
-rw-r--r--gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.cpp b/gui.cpp
index 0167b4bd50..1f3c737e6c 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -522,7 +522,7 @@ byte *Gui::getBasePtr(int x, int y)
return NULL;
return _vs->screenPtr + x + (y - _vs->topline) * 320 +
- _s->_screenStartStrip * 8;
+ _s->_screenStartStrip * 8 + (_s->camera._cur.y - 100)*320;
}
void Gui::lineto(int x, int y)