TSAGE: Fix bug in scene 4050: The rope may now be used to climb too

This commit is contained in:
strangerke 2011-04-29 16:55:23 +02:00
parent c3463e77d2
commit 2bd4c3c38c
2 changed files with 6 additions and 4 deletions

View File

@ -2080,6 +2080,7 @@ void Scene4050::Action2::signal() {
}
void Scene4050::Action3::signal() {
// Climb up the rope
switch (_actionIndex++) {
case 0:
ADD_PLAYER_MOVER(210, 185);
@ -2179,7 +2180,7 @@ void Scene4050::Action4::signal() {
/*--------------------------------------------------------------------------*/
void Scene4050::Hotspot14::doAction(int action) {
void Scene4050::Hotspot15::doAction(int action) {
Scene4050 *scene = (Scene4050 *)_globals->_sceneManager._scene;
switch (action) {

View File

@ -330,7 +330,7 @@ class Scene4050 : public Scene {
};
/* Hotspots */
class Hotspot14 : public SceneObject {
class Hotspot15 : public SceneObject {
public:
virtual void doAction(int action);
};
@ -349,8 +349,9 @@ public:
DisplayHotspot _hotspot1, _hotspot2, _hotspot3, _hotspot4, _hotspot5;
DisplayHotspot _hotspot6, _hotspot7, _hotspot8, _hotspot9, _hotspot10;
DisplayHotspot _hotspot11, _hotspot12, _hotspot13;
Hotspot14 _hotspot14;
SceneObject _hotspot15, _hotspot16;
SceneObject _hotspot14;
Hotspot15 _hotspot15;
SceneObject _hotspot16;
Hotspot17 _hotspot17;
Scene4050();