From dc67e25c67c6674b32635df5c1ac03bbd163a723 Mon Sep 17 00:00:00 2001 From: nlanza Date: Sun, 13 Aug 2006 04:18:50 +0000 Subject: Add a metric ton of compiler warnings to the Xcode project, and clean up the source accordingly. At some point these warnings should be merged into the makefile system, but I don't have the will to merge them into the 3451351235 individual makefiles at the moment. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@12 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/direct.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/direct.cc') diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index 8ff8a9732a..911ccc8522 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -65,7 +65,7 @@ enum LOSSelect // or visible to hidden when going backwards. LOS_FLIPHV = 0x40, - LOS_NONE = 0xFFFF, + LOS_NONE = 0xFFFF }; // x and y offsets in the following order: @@ -478,7 +478,7 @@ void look_around(struct dist &moves, bool justLooking, int first_move, int mode) case '\'': case '*': { - int dir = keyin == ';' || keyin == '/'? -1 : 1; + dir = keyin == ';' || keyin == '/'? -1 : 1; if (find_square( cx, cy, objfind_pos, dir, find_object, 0, true, Options.target_los_first @@ -499,7 +499,7 @@ void look_around(struct dist &moves, bool justLooking, int first_move, int mode) case '+': case '=': { - int dir = keyin == '-'? -1 : 1; + dir = keyin == '-'? -1 : 1; if (find_square( cx, cy, monsfind_pos, dir, find_monster, mode, Options.target_wrap )) { -- cgit v1.2.3-54-g00ecf