aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authornorbertbajko2015-03-01 17:06:20 +0100
committernorbertbajko2015-03-01 17:06:20 +0100
commit43a09925381838efbcd36dadba465cb5cae3eb11 (patch)
treeae2322a61701372e357726307ee6305ba1a55c19 /engines/drascula
parent8778603d342da33957cf995dd3547231795b14ba (diff)
downloadscummvm-rg350-43a09925381838efbcd36dadba465cb5cae3eb11.tar.gz
scummvm-rg350-43a09925381838efbcd36dadba465cb5cae3eb11.tar.bz2
scummvm-rg350-43a09925381838efbcd36dadba465cb5cae3eb11.zip
DRASCULA: comment "actors.cpp"
Explain #5903 DRASCULA-IT bug fix
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/actors.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/drascula/actors.cpp b/engines/drascula/actors.cpp
index 0c18f513e1..849e2ccd24 100644
--- a/engines/drascula/actors.cpp
+++ b/engines/drascula/actors.cpp
@@ -396,7 +396,10 @@ void DrasculaEngine::increaseFrameNum() {
curHeight = (int)newHeight;
curWidth = (int)newWidth;
}
-
+
+ // Fix bug #5903 DRASCULA-IT: Crash/graphic glitch at castle towers
+ // Chapter 5 Room 45 is the castle tower part
+ // Fixing the character's coordinate(0,0) in the tower section to prevent out of window coordinates and crash
if ((currentChapter == 5) && (_roomNumber == 45)) {
curY = 0;
curX = 0;