summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/teleport.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/teleport.cc b/crawl-ref/source/teleport.cc
index aafc685583..e7ffb3e528 100644
--- a/crawl-ref/source/teleport.cc
+++ b/crawl-ref/source/teleport.cc
@@ -122,6 +122,9 @@ void blink_other_close(actor* victim, const coord_def &target)
return;
bool success = victim->blink_to(dest);
ASSERT(success);
+#ifndef DEBUG
+ UNUSED(success);
+#endif
}
// Blink the monster away from its foe.
@@ -135,6 +138,9 @@ void blink_away(monsters* mon)
return;
bool success = mon->blink_to(dest);
ASSERT(success);
+#ifndef DEBUG
+ UNUSED(success);
+#endif
}
// Blink the monster within range but at distance to its foe.
@@ -148,6 +154,9 @@ void blink_range(monsters* mon)
return;
bool success = mon->blink_to(dest);
ASSERT(success);
+#ifndef DEBUG
+ UNUSED(success);
+#endif
}
// Blink the monster close to its foe.
@@ -161,6 +170,9 @@ void blink_close(monsters* mon)
return;
bool success = mon->blink_to(dest);
ASSERT(success);
+#ifndef DEBUG
+ UNUSED(success);
+#endif
}
bool random_near_space(const coord_def& origin, coord_def& target,