summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-abil.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/mon-abil.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/mon-abil.cc')
-rw-r--r--crawl-ref/source/mon-abil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc
index d7e2eb353d..c0ddd2ba15 100644
--- a/crawl-ref/source/mon-abil.cc
+++ b/crawl-ref/source/mon-abil.cc
@@ -37,6 +37,7 @@
#include "mon-death.h"
#include "mon-pathfind.h"
#include "mon-place.h"
+#include "mon-poly.h"
#include "mon-project.h"
#include "mon-util.h"
#include "mutation.h"
@@ -44,7 +45,6 @@
#include "mgen_data.h"
#include "cloud.h"
#include "mon-speak.h"
-#include "mon-stuff.h"
#include "random.h"
#include "random-weight.h"
#include "religion.h"
@@ -4577,7 +4577,7 @@ void ballisto_on_move(monster* mons, const coord_def& position)
{
if (one_chance_in(4))
{
- beh_type attitude = actual_same_attitude(*mons);
+ beh_type attitude = attitude_creation_behavior(mons->attitude);
if (monster *plant = create_monster(mgen_data(MONS_BALLISTOMYCETE,
attitude,
NULL,