mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 00:45:10 +00:00
TSAGE: Fix base hotspot classes of hotspots in Scene #40
This commit is contained in:
parent
4a64e928cf
commit
471815e00c
@ -1434,7 +1434,7 @@ void Scene40::Item2::doAction(int action) {
|
||||
SceneItem::display2(40, 37);
|
||||
break;
|
||||
default:
|
||||
SceneItem::doAction(action);
|
||||
SceneHotspot::doAction(action);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1455,7 +1455,7 @@ void Scene40::Item6::doAction(int action) {
|
||||
SceneItem::display2(40, 36);
|
||||
break;
|
||||
default:
|
||||
SceneItem::doAction(action);
|
||||
SceneHotspot::doAction(action);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1464,7 +1464,7 @@ void Scene40::Item6::doAction(int action) {
|
||||
|
||||
Scene40::Scene40() :
|
||||
_item1(2, OBJECT_SCANNER, 40, 24, OBJECT_STUNNER, 40, 25, CURSOR_LOOK, 40, 7, CURSOR_USE, 40, 16, LIST_END),
|
||||
_item3(5, OBJECT_SCANNER, 40, 26, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 9, CURSOR_USE, 40, 17, LIST_END),
|
||||
_item3(5, OBJECT_SCANNER, 40, 28, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 2, CURSOR_USE, 40, 30, LIST_END),
|
||||
_item4(6, OBJECT_SCANNER, 40, 31, OBJECT_STUNNER, 40, 32, CURSOR_LOOK, 40, 5, CURSOR_USE, 40, 33, LIST_END),
|
||||
_item5(0, CURSOR_LOOK, 40, 11, LIST_END),
|
||||
_item7(4, OBJECT_SCANNER, 40, 26, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 9, CURSOR_USE, 40, 17, LIST_END),
|
||||
|
@ -215,15 +215,15 @@ class Scene40 : public Scene {
|
||||
};
|
||||
|
||||
/* Items */
|
||||
class Item2 : public SceneItem {
|
||||
class Item2 : public SceneHotspot {
|
||||
public:
|
||||
virtual void doAction(int action);
|
||||
};
|
||||
class Item6 : public SceneItem {
|
||||
class Item6 : public SceneHotspot {
|
||||
public:
|
||||
virtual void doAction(int action);
|
||||
};
|
||||
class Item8 : public SceneItem {
|
||||
class Item8 : public SceneHotspot {
|
||||
public:
|
||||
virtual void doAction(int action);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user