summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
commitb3585338e36d7a660fe3019131746feb9e445308 (patch)
treec1979d50288b8bba1ff5a472fd844b758c5fc618
parent4b8efa36e1f5676a31c303b656567249f4fd8cb2 (diff)
Fix header inclusion order problem in spells3.cc
We failed to include spells3.hpp first, which could cause spurious trouble for clients of spells3.hpp.
-rw-r--r--src/spells3.cc2
-rw-r--r--src/spells3.hpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index 86754a34..205b5bd1 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -1,5 +1,5 @@
-#include "angband.h"
#include "spells3.hpp"
+#include "angband.h"
#include <assert.h>
diff --git a/src/spells3.hpp b/src/spells3.hpp
index eac626e7..992aed0e 100644
--- a/src/spells3.hpp
+++ b/src/spells3.hpp
@@ -1,5 +1,9 @@
#pragma once
+#include "spell_type_fwd.h"
+#include "h-basic.h"
+#include "types_fwd.h"
+
extern s32b NOXIOUSCLOUD;
extern s32b AIRWINGS;
extern s32b INVISIBILITY;