summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-24 17:44:59 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-24 17:44:59 +0000
commit41d70af6d353eb5f2da26f908fb75e02e1e9af57 (patch)
treed44edbf96673a32ac024cff827d4ad975adcead2 /crawl-ref/source/libgui.cc
parent47824cdfc7c6cba04b91336e2a91abaac8c558b8 (diff)
downloadcrawl-ref-41d70af6d353eb5f2da26f908fb75e02e1e9af57.tar.gz
crawl-ref-41d70af6d353eb5f2da26f908fb75e02e1e9af57.zip
Some comment indentation, and really minor tile fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3317 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r--crawl-ref/source/libgui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index 6f064957a4..d78607a955 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -355,7 +355,7 @@ void GmapUpdate(int x, int y, int what, bool upd_tile)
int c;
if (x == you.x_pos && y == you.y_pos)
- c = Options.tile_player_col; // player position always in white
+ c = Options.tile_player_col; // player position always highlighted
else if (mgrd[x][y] != NON_MONSTER && mons_friendly(&menv[mgrd[x][y]])
&& upd_tile)
{
@@ -1276,8 +1276,8 @@ static int handle_mouse_motion(int mouse_x, int mouse_y, bool init)
desc += EOL "[L-Click] Pick up (g)";
if (mitm[ix].base_type == OBJ_CORPSES
- && you.inv[ix].sub_type != CORPSE_SKELETON
- && !food_is_rotten(you.inv[ix]))
+ && mitm[ix].sub_type != CORPSE_SKELETON
+ && !food_is_rotten(mitm[ix]))
{
desc += EOL "[Shift-L-Click] Dissect (D)";