From 3232b4719ebfaccae12c628b01c6ca37ad38254e Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sat, 7 Nov 2009 12:33:40 +0300 Subject: Replace mons_neutral with monsters::neutral. Signed-off-by: Jude Brown --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 53fb6991db..9cf2e879fa 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6147,7 +6147,7 @@ void player::attacking(actor *other) if (other && other->atype() == ACT_MONSTER) { const monsters *mon = dynamic_cast(other); - if (!mon->friendly() && !mons_neutral(mon)) + if (!mon->friendly() && !mon->neutral()) pet_target = mon->mindex(); } -- cgit v1.2.3-54-g00ecf