[Scummvm-git-logs] scummvm master -> d259913b8c0ec0579c3d36060d47f8d249c421eb

yuv422 yuv422 at users.noreply.github.com
Tue May 19 12:35:39 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d259913b8c DRAGONS: Fixed castle scene update logic


Commit: d259913b8c0ec0579c3d36060d47f8d249c421eb
    https://github.com/scummvm/scummvm/commit/d259913b8c0ec0579c3d36060d47f8d249c421eb
Author: Eric Fry (yuv422 at users.noreply.github.com)
Date: 2020-05-19T22:34:38+10:00

Commit Message:
DRAGONS: Fixed castle scene update logic

Changed paths:
    engines/dragons/specialopcodes.cpp


diff --git a/engines/dragons/specialopcodes.cpp b/engines/dragons/specialopcodes.cpp
index 12afb1d263..156e89eef9 100644
--- a/engines/dragons/specialopcodes.cpp
+++ b/engines/dragons/specialopcodes.cpp
@@ -1503,8 +1503,8 @@ void castleBuildingBlackDragon2UpdateFunction() {
 			ini->counter = 0x68;
 			ini->objectState = 1;
 		} else if (ini->objectState == 1) {
-			ini->actor->updateSequence(4);
-			ini->counter = vm->getRand(0xb4);
+			vm->_dragonINIResource->getRecord(0x234)->actor->updateSequence(4);
+			ini->counter = vm->getRand(0xb4) + 900;
 			ini->objectState = 0;
 		}
 	}




More information about the Scummvm-git-logs mailing list