From ceb51161c896f17a951b0ba2bbd4b48f8fead13a Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 6 Nov 2009 20:39:11 +0100 Subject: Replace global see_cell by observe_cell and disambiguate old uses. Calls to plain see_cell(pos) were replaced with either observe_cell(pos) or you.see_cell(pos). observe_cell where related to drawing the interface and messaging, you.see_cell for game mechanics, and one or the other in less clear cases (targetting, say). --- crawl-ref/source/state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/state.cc') diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc index 59a3061920..066b5e0dbb 100644 --- a/crawl-ref/source/state.cc +++ b/crawl-ref/source/state.cc @@ -227,7 +227,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai, fs.add_glyph( mon ); fs.cprintf(") in view: (%d,%d), see_cell: %s", mon->pos().x, mon->pos().y, - see_cell(mon->pos())? "yes" : "no"); + observe_cell(mon->pos())? "yes" : "no"); formatted_mpr(fs, MSGCH_WARN); #endif -- cgit v1.2.3-54-g00ecf