[Scummvm-cvs-logs] scummvm master -> 4d02cf52d217e4a6c956b80540a3d0611ff7d21d
Strangerke
arnaud.boutonne at gmail.com
Fri Apr 22 08:28:51 CEST 2011
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:
4d02cf52d2 TSAGE: Fix initialization bug in scene 4100.
Commit: 4d02cf52d217e4a6c956b80540a3d0611ff7d21d
https://github.com/scummvm/scummvm/commit/4d02cf52d217e4a6c956b80540a3d0611ff7d21d
Author: strangerke (arnaud.boutonne at gmail.com)
Date: 2011-04-21T23:28:09-07:00
Commit Message:
TSAGE: Fix initialization bug in scene 4100.
Changed paths:
engines/tsage/ringworld_scenes5.cpp
diff --git a/engines/tsage/ringworld_scenes5.cpp b/engines/tsage/ringworld_scenes5.cpp
index bf4af4d..8222eb7 100644
--- a/engines/tsage/ringworld_scenes5.cpp
+++ b/engines/tsage/ringworld_scenes5.cpp
@@ -824,6 +824,7 @@ void Scene4000::postInit(SceneObjectList *OwnerList) {
_smoke2.animate(ANIM_MODE_2, NULL);
if (_globals->_inventory._ladder._sceneNumber != 4000) {
+ // if ladder is not in the scene, activate the hotspot on the wall
_hotspot8.postInit();
_hotspot8.setVisage(4018);
_hotspot8.setObjectWrapper(new SceneObjectWrapper());
@@ -2551,7 +2552,9 @@ void Scene4100::Ladder::doAction(int action) {
}
}
-
+/**
+ Exit hotspot, South
+ */
void Scene4100::Hotspot14::doAction(int action) {
Scene4100 *scene = (Scene4100 *)_globals->_sceneManager._scene;
@@ -2622,7 +2625,7 @@ void Scene4100::postInit(SceneObjectList *OwnerList) {
_hotspot4.setStrip2(2);
_hotspot4.setPosition(Common::Point(152, 167));
- if (!_globals->getFlag(36)) {
+ if (_globals->getFlag(36)) {
_hotspot1.setVisage(4105);
_hotspot1.setStrip(1);
_hotspot1.setFrame(4);
More information about the Scummvm-git-logs
mailing list