From 51ded013829b4cd8f73fa7f6313e73d2f7550aa5 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 12:57:13 -0600 Subject: Make many checks for monster (non)existence on squares use monster_at(). Not all are changed yet, as there are several index checks still needed for debugging purposes. Also, make many checks for player/monster (non)existence use actor_at(). --- crawl-ref/source/arena.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/arena.cc') diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index 3dbcfa9c28..d6ae03e1ef 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -783,7 +783,7 @@ namespace arena true); if (idx == -1 && fac.active_members == 0 - && mgrd(pos) != NON_MONSTER) + && monster_at(pos)) { // We have no members left, so to prevent the round // from ending attempt to displace whatever is in -- cgit v1.2.3-54-g00ecf