[Scummvm-cvs-logs] scummvm master -> c371d0153a519326fbaaf1281a2e6f3170344780

bluegr md5 at scummvm.org
Thu Apr 28 01:29:24 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:
c371d0153a TSAGE: Fixed 2 script logic bugs (scene 5100, 5300) and two typos


Commit: c371d0153a519326fbaaf1281a2e6f3170344780
    https://github.com/scummvm/scummvm/commit/c371d0153a519326fbaaf1281a2e6f3170344780
Author: md5 (md5 at scummvm.org)
Date: 2011-04-27T16:27:42-07:00

Commit Message:
TSAGE: Fixed 2 script logic bugs (scene 5100, 5300) and two typos

These fix the following issues:
- Loss of control after freeing the bat in scene 5100
- Loss of control after drinking from the bat's pheromonone bottle in
scene 5300
- Crash when the two flesheaters appear on the path in scene 5300

Changed paths:
    engines/tsage/ringworld_scenes6.cpp



diff --git a/engines/tsage/ringworld_scenes6.cpp b/engines/tsage/ringworld_scenes6.cpp
index 6bb2605..2e20151 100644
--- a/engines/tsage/ringworld_scenes6.cpp
+++ b/engines/tsage/ringworld_scenes6.cpp
@@ -1354,6 +1354,7 @@ void Scene5100::signal() {
 		_globals->_player.setStrip(6);
 		_globals->_player.setPriority2(-1);
 		_globals->_player.animate(ANIM_MODE_1, NULL);
+		_globals->_player.enableControl();	// TODO: verify that this is supposed to occur here
 		break;
 	case 5117:
 		_globals->_player.enableControl();
@@ -1401,9 +1402,9 @@ void Scene5100::dispatch() {
 		_hotspot3.setStrip2(2);
 
 		ObjectMover3 *mover1 = new ObjectMover3();
-		_hotspot2.addMover(mover1, 20, this);
+		_hotspot2.addMover(mover1, &_globals->_player, 20, this);
 		ObjectMover3 *mover2 = new ObjectMover3();
-		_hotspot3.addMover(mover2, 20, this);
+		_hotspot3.addMover(mover2, &_globals->_player, 20, this);
 	}
 
 	if (!_action) {
@@ -2154,6 +2155,7 @@ void Scene5300::signal() {
 		break;
 	case 5307:
 		_soundHandler.proc1(NULL);
+		_globals->_player.enableControl();	// TODO: verify that this is supposed to occur here
 		break;
 	case 5309:
 		_hotspot5.remove();






More information about the Scummvm-git-logs mailing list