summaryrefslogtreecommitdiff
path: root/src/melee2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
commit55a098461106d1ca4a72e30eaa572470433b6f5f (patch)
tree8be287043cae9c9277e49abe6a1830699290304b /src/melee2.cc
parent9110cc4da22a9c7fed204b4633ac5d8b73f8d9b8 (diff)
Make make_attack_spell() static
Diffstat (limited to 'src/melee2.cc')
-rw-r--r--src/melee2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/melee2.cc b/src/melee2.cc
index 744e99fe..7032e511 100644
--- a/src/melee2.cc
+++ b/src/melee2.cc
@@ -2939,7 +2939,7 @@ void curse_equipment_dg(int chance, int heavy_chance)
* Note the special "MFLAG_NICE" flag, which prevents a monster from using
* any spell attacks until the player has had a single chance to move.
*/
-bool_ make_attack_spell(int m_idx)
+static bool_ make_attack_spell(int m_idx)
{
int k, chance, thrown_spell, rlev, failrate;
byte spell[96], num = 0;