diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 11:58:20 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 11:58:20 +0000 |
commit | 007ead191a6de85b5b12ccc0c5979a4e9661659a (patch) | |
tree | 5f8923ca3280b0bdf4d63d959adce9bdd76c224f /crawl-ref/source/beam.cc | |
parent | d04de65856bdb2fa2e4c0e758bccf0848bf9d259 (diff) | |
download | crawl-ref-007ead191a6de85b5b12ccc0c5979a4e9661659a.tar.gz crawl-ref-007ead191a6de85b5b12ccc0c5979a4e9661659a.zip |
* Fixed a few issues with transformations.
* Moved fixed arts' plusses, name and colour into a struct in
randart.cc. (This should maybe be moved into unrand.h.)
Name and description are now stored in the props vector like for
randarts, and artefact_name() now handles all randarts, unrandarts
and fixed artefacts.
The Knife of Accuracy should probably be turned into an unrandart.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7673 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index d288ca768d..9ef30e22da 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1331,13 +1331,13 @@ static void _zappy( zap_type z_type, int power, bolt &pbolt ) } // Fill - pbolt.name = zinfo->name; - pbolt.flavour = zinfo->flavour; - pbolt.colour = zinfo->colour; - pbolt.type = dchar_glyph(zinfo->glyph); + pbolt.name = zinfo->name; + pbolt.flavour = zinfo->flavour; + pbolt.colour = zinfo->colour; + pbolt.type = dchar_glyph(zinfo->glyph); pbolt.obvious_effect = zinfo->always_obvious; - pbolt.is_beam = zinfo->can_beam; - pbolt.is_explosion = zinfo->is_explosion; + pbolt.is_beam = zinfo->can_beam; + pbolt.is_explosion = zinfo->is_explosion; if (zinfo->power_cap > 0) power = std::min(zinfo->power_cap, power); |