TSAGE: Fix for GUI dialog appearing when clicking on some hotspots in Scene #5200
This commit is contained in:
parent
9fc1ed2c60
commit
c08fc15cbe
2 changed files with 4 additions and 4 deletions
|
@ -1574,7 +1574,7 @@ void Scene5200::Hotspot10::doAction(int action) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
SceneItem::doAction(action);
|
SceneObject::doAction(action);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1590,7 +1590,7 @@ void Scene5200::Hotspot14::doAction(int action) {
|
||||||
scene->setAction(&scene->_action2);
|
scene->setAction(&scene->_action2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
SceneItem::doAction(action);
|
SceneObject::doAction(action);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -216,11 +216,11 @@ class Scene5200 : public Scene {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Hotspots */
|
/* Hotspots */
|
||||||
class Hotspot9 : public SceneItemExt {
|
class Hotspot9 : public SceneObjectExt {
|
||||||
public:
|
public:
|
||||||
virtual void doAction(int action);
|
virtual void doAction(int action);
|
||||||
};
|
};
|
||||||
class Hotspot10 : public SceneItemExt {
|
class Hotspot10 : public SceneObjectExt {
|
||||||
public:
|
public:
|
||||||
virtual void doAction(int action);
|
virtual void doAction(int action);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue