diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-17 20:43:18 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-17 20:43:18 +0000 |
commit | 44f56edce815f5ff8fb4124829523439f1cc8ad2 (patch) | |
tree | dc7be3b6e516b32ca8130786b35ebecf43abbabd /crawl-ref/source/spells2.cc | |
parent | b7516d279965cc139c24507688047172bb7a0f7f (diff) | |
download | crawl-ref-44f56edce815f5ff8fb4124829523439f1cc8ad2.tar.gz crawl-ref-44f56edce815f5ff8fb4124829523439f1cc8ad2.zip |
Complete revamp of cards and decks, following David's ideas.
Many of the cards don't work yet (e.g., all Summoning cards); this
will be fixed in the near future.
Deck rarity, by the way, is encoded in its colour. Yuck - but I was
out of bits in the item_def struct. Better ideas welcome.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1594 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 6708c9b42b..8bd05d4bc1 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -657,9 +657,9 @@ bool restore_stat(unsigned char which_stat, bool suppress_msg) } // the real function begins here {dlb}: - char *ptr_stat = 0; // NULL {dlb} - char *ptr_stat_max = 0; // NULL {dlb} - char *ptr_redraw = 0; // NULL {dlb} + char *ptr_stat = NULL; + char *ptr_stat_max = NULL; + bool *ptr_redraw = NULL; std::string msg = "You feel your "; |