From e8f0e9e998a8d16ff037ed48ae7676592179d5c6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 11 Jun 2019 01:28:12 +0300 Subject: STARTREK: Rename the different showText() functions for disambiguation Hopefully, this will fix the AmigaOS and DS builds --- engines/startrek/rooms/demon2.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'engines/startrek/rooms/demon2.cpp') diff --git a/engines/startrek/rooms/demon2.cpp b/engines/startrek/rooms/demon2.cpp index a0b7f88ae7..fbaca93cce 100644 --- a/engines/startrek/rooms/demon2.cpp +++ b/engines/startrek/rooms/demon2.cpp @@ -42,47 +42,47 @@ void Room::demon2TouchedWarp1() { } void Room::demon2LookAtCave() { - showText(9, true); + showDescription(9, true); } void Room::demon2LookAtMountain() { - showText(7, true); + showDescription(7, true); } void Room::demon2LookAtBerries() { - showText(12, true); + showDescription(12, true); } void Room::demon2LookAtFern() { - showText(5, true); + showDescription(5, true); } void Room::demon2LookAtMoss() { - showText(10, true); + showDescription(10, true); } void Room::demon2LookAtLights() { - showText(6, true); + showDescription(6, true); } void Room::demon2LookAtAnything() { - showText(11, true); + showDescription(11, true); } void Room::demon2LookAtKirk() { - showText(2, true); + showDescription(2, true); } void Room::demon2LookAtSpock() { - showText(4, true); + showDescription(4, true); } void Room::demon2LookAtMcCoy() { - showText(3, true); + showDescription(3, true); } void Room::demon2LookAtRedshirt() { - showText(0, true); + showDescription(0, true); } void Room::demon2TalkToKirk() { @@ -164,7 +164,7 @@ void Room::demon2ReachedBerries() { } void Room::demon2PickedUpBerries() { - showText(13, true); + showDescription(13, true); giveItem(OBJECT_IBERRY); _awayMission->demon.gotBerries = true; _awayMission->demon.missionScore += 1; -- cgit v1.2.3