diff options
author | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 04:18:50 +0000 |
---|---|---|
committer | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 04:18:50 +0000 |
commit | dc67e25c67c6674b32635df5c1ac03bbd163a723 (patch) | |
tree | cd427f954aba93bbcd77c07534d5cd99edb9dea7 /crawl-ref/source/direct.cc | |
parent | 67ea2cc27bc06dde5102bae9de4c7a30c55d0343 (diff) | |
download | crawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.tar.gz crawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.zip |
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
Diffstat (limited to 'crawl-ref/source/direct.cc')
-rw-r--r-- | crawl-ref/source/direct.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 )) { |