summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 22:46:40 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 22:46:40 +0000
commitb7116fc4280b8a77871eaae23ee07360531e66e0 (patch)
treead32e74b54a615340ada25b4fa43ed3d144a71d9 /crawl-ref/source/items.cc
parentbe1fd6b9eef41731976b64af9ba27e377fab5a3b (diff)
downloadcrawl-ref-b7116fc4280b8a77871eaae23ee07360531e66e0.tar.gz
crawl-ref-b7116fc4280b8a77871eaae23ee07360531e66e0.zip
Fix bug introduced in r6347 (oops): igrd wasn't being cleaned when moving.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6356 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index eba72e9f7b..ff0731d68f 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -595,6 +595,7 @@ void lose_item_stack( int x, int y )
si->clear();
}
}
+ igrd[x][y] = NON_ITEM;
}
void destroy_item_stack( int x, int y, int cause )
@@ -607,6 +608,7 @@ void destroy_item_stack( int x, int y, int cause )
si->clear();
}
}
+ igrd[x][y] = NON_ITEM;
}
static bool _invisible_to_player( const item_def& item )