From cb57dfea1ea5e58d45f8f1d4378369bdaf975fe5 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 20 Sep 2009 19:50:18 +0000 Subject: * Fix wizmode autoexplore (used for debugging) not nuking traps, as it claimed to do. * Fix post-berserk exhaustion not cancelling haste if not wearing the "RS. * Update change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10752 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/traps.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/traps.cc') diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index 3203f672e7..39bcb433ed 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -87,8 +87,8 @@ void trap_def::destroy() grd(this->pos) = DNGN_FLOOR; this->ammo_qty = 0; - this->pos = coord_def(-1,-1); - this->type = TRAP_UNASSIGNED; + this->pos = coord_def(-1,-1); + this->type = TRAP_UNASSIGNED; } void trap_def::hide() -- cgit v1.2.3-54-g00ecf