aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/scripts.cpp8
-rw-r--r--engines/lure/surface.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 34b1dd3757..babbe0280f 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -516,10 +516,10 @@ void Script::doorOpen(uint16 hotspotId, uint16 v2, uint16 v3) {
// Makes the specified NPC wait for the player to walk to them
void Script::npcWait(uint16 hotspotId, uint16 v2, uint16 v3) {
- Hotspot *hotspot = Resources::getReference().getActiveHotspot(hotspotId);
- assert(hotspot);
- hotspot->setCharacterMode(CHARMODE_WAIT_FOR_INTERACT);
- hotspot->setDelayCtr(130);
+ Hotspot *hotspot = Resources::getReference().getActiveHotspot(hotspotId);
+ assert(hotspot);
+ hotspot->setCharacterMode(CHARMODE_WAIT_FOR_INTERACT);
+ hotspot->setDelayCtr(130);
}
// Called during talking to Minnow to see whether the Skorl "Brenda" should be alerted
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp
index e1ab0c2b0b..1b85ef939b 100644
--- a/engines/lure/surface.cpp
+++ b/engines/lure/surface.cpp
@@ -1055,7 +1055,7 @@ bool SaveRestoreDialog::show(bool saveDialog) {
screen.screen().writeString(
SAVE_DIALOG_X + Surface::textX(),
SAVE_DIALOG_Y + SR_SAVEGAME_NAMES_Y + selectedLine * FONT_HEIGHT,
- saveNames[selectedLine]->c_str(), true);
+ saveNames[selectedLine]->c_str(), true);
selectedLine = -1;
continue;
}