summaryrefslogtreecommitdiff
path: root/src/melee2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
commitd379c47aaec011921c1d09140ee1098a7053b5b6 (patch)
tree344e21109d3deff09b38937d5e355c18ef25ba8c /src/melee2.cc
parent85f1b7d97f1612c70edd774bfd9cf8b75c0b6c39 (diff)
Split monster2.cc declarations into separate header
Diffstat (limited to 'src/melee2.cc')
-rw-r--r--src/melee2.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/melee2.cc b/src/melee2.cc
index acff1f87..6cb1420d 100644
--- a/src/melee2.cc
+++ b/src/melee2.cc
@@ -17,6 +17,7 @@
#include "cmd1.hpp"
#include "hooks.h"
#include "messages.h"
+#include "monster2.hpp"
#include "quark.h"
#include "skills.hpp"
#include "spells1.hpp"
@@ -32,6 +33,8 @@
#define FOLLOW_DISTANCE 6
+static void cmonster_msg(char a, cptr fmt, ...);
+
/*
* Based on mon_take_hit... all monster attacks on
* other monsters should use
@@ -909,7 +912,7 @@ static void monst_bolt_monst(int m_idx, int y, int x, int typ, int dam_hp)
}
-void monster_msg(cptr fmt, ...)
+static void monster_msg(cptr fmt, ...)
{
va_list vp;