summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-19 16:05:04 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-22 10:03:45 -0400
commit465957cba490a2a9d5444a64523572a90cfb837f (patch)
tree536c94ce0702e60217120aa2bb27325aff1b8f2d /crawl-ref/source/beam.cc
parent393eda0d444702a7eda580e6c363bbdcaba8d54e (diff)
downloadcrawl-ref-465957cba490a2a9d5444a64523572a90cfb837f.tar.gz
crawl-ref-465957cba490a2a9d5444a64523572a90cfb837f.zip
The great mon-stuff migration.
A good deal of functions move to the two new files, mon-poly and mon-message. Of the others, some go to where they are used, some to mon-util, and a few are made member methods of monster. This probably breaks Xcode compilation, and I'm not able to test the changes I made to MSVC that will (hopefully) keep it working.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index c4d8a1dd57..1acff4d3f3 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -49,7 +49,7 @@
#include "mon-death.h"
#include "mon-ench.h"
#include "mon-place.h"
-#include "mon-stuff.h"
+#include "mon-poly.h"
#include "mon-util.h"
#include "mutation.h"
#include "ouch.h"
@@ -1542,7 +1542,7 @@ int mons_adjust_flavoured(monster* mons, bolt &pbolt, int hurted,
}
}
else if (res <= 0 && doFlavouredEffects)
- splash_monster_with_acid(mons, pbolt.agent());
+ mons->splash_with_acid(pbolt.agent());
break;
}