summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 472c2558cb..107a86b710 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1396,7 +1396,9 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
// Forget about interrupted butchering, since we probably aren't going
// to get back to the corpse in time to finish things.
- you.attribute[ATTR_WEAPON_SWAP_INTERRUPTED] = 0;
+ // But do not reset the weapon swap if we swapped weapons
+ // because of a transformation.
+ maybe_clear_weapon_swap();
}
return just_created_level;