aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/hotspots.cpp')
-rw-r--r--engines/lure/hotspots.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index b585f2a968..c2b99c1b7a 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -4839,13 +4839,13 @@ void HotspotList::loadFromStream(ReadStream *stream) {
}
}
-HotspotScheduleRecord::HotspotScheduleRecord(uint16 hotspotId, CurrentActionStack &stack) {
- this->hotspotId = hotspotId;
+HotspotScheduleRecord::HotspotScheduleRecord(uint16 hId, CurrentActionStack &stack) {
+ hotspotId = hId;
copyFrom(stack);
}
-HotspotScheduleRecord::HotspotScheduleRecord(uint16 hotspotId) {
- this->hotspotId = hotspotId;
+HotspotScheduleRecord::HotspotScheduleRecord(uint16 hId) {
+ hotspotId = hId;
}
void HotspotSchedules::saveToStream(WriteStream *stream) {