diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-09 11:47:31 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-09 11:47:31 +0000 |
commit | 197e914235a08d505781e2b75b69998e8452b051 (patch) | |
tree | 3f210bd84aa8b4c1e5aaf5d48c3773601a211bce /crawl-ref/source/transfor.h | |
parent | 536cad41f666433204c1072afe2c3aa5c93c4d64 (diff) | |
download | crawl-ref-197e914235a08d505781e2b75b69998e8452b051.tar.gz crawl-ref-197e914235a08d505781e2b75b69998e8452b051.zip |
Transformation cleanup.
Fixed a bad bug in cloak/body armour wearing interaction (oops.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1813 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/transfor.h')
-rw-r--r-- | crawl-ref/source/transfor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/transfor.h b/crawl-ref/source/transfor.h index 45d0904bad..5d5480c026 100644 --- a/crawl-ref/source/transfor.h +++ b/crawl-ref/source/transfor.h @@ -14,6 +14,8 @@ #ifndef TRANSFOR_H #define TRANSFOR_H +#include <set> + #include "FixVec.h" #include "enum.h" @@ -44,7 +46,8 @@ bool transform(int pow, transformation_type which_trans); /* *********************************************************************** * called from: mutation - transfor * *********************************************************************** */ -bool remove_equipment( FixedVector<char, 8>& remove_stuff ); +bool remove_equipment( std::set<equipment_type> remove_stuff ); +bool remove_one_equip(equipment_type eq); bool transform_changed_physiology( bool phys_scales = false ); |