summaryrefslogtreecommitdiff
path: root/src/map/script-fun.cpp
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-28 17:48:49 +0000
committergumi <git@gumi.ca>2019-08-28 17:51:21 +0000
commitb9be7649ea62189bcae67fa94babc438852b9777 (patch)
tree8160f147116bc37cc556f49203f5e4e98fe34566 /src/map/script-fun.cpp
parent543098e789f6fff900651990a16fdab17f249ea2 (diff)
downloadtmwa-b9be7649ea62189bcae67fa94babc438852b9777.tar.gz
tmwa-b9be7649ea62189bcae67fa94babc438852b9777.tar.bz2
tmwa-b9be7649ea62189bcae67fa94babc438852b9777.tar.xz
tmwa-b9be7649ea62189bcae67fa94babc438852b9777.zip
Revert the changes from the last 2 releases
battle.cpp is very messy and full of bugs
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r--src/map/script-fun.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 3becf10..8c90052 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -2547,6 +2547,7 @@ void builtin_summon(ScriptState *st)
switch (monster_attitude)
{
case MonsterAttitude::SERVANT:
+ mob->state.special_mob_ai = 1;
mob->mode |= MobMode::AGGRESSIVE;
break;