summaryrefslogtreecommitdiff
path: root/src/map/npc-parse.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc-parse.hpp')
-rw-r--r--src/map/npc-parse.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/npc-parse.hpp b/src/map/npc-parse.hpp
index fe528a4..0d66aa7 100644
--- a/src/map/npc-parse.hpp
+++ b/src/map/npc-parse.hpp
@@ -22,6 +22,8 @@
#include "fwd.hpp"
+#include "../compat/fwd.hpp"
+
#include "../generic/fwd.hpp"
#include "../strings/fwd.hpp"
@@ -38,7 +40,7 @@ int npc_parse_warp(XString w1, XString, NpcName w3, XString w4);
*
* \param message The message to speak. If message is nullptr, the NPC will not do anything at all.
*/
-dumb_ptr<npc_data> npc_spawn_text(map_local *m, int x, int y,
+dumb_ptr<npc_data> npc_spawn_text(Borrowed<map_local> m, int x, int y,
Species class_, NpcName name, AString message);
void npc_addsrcfile(AString name);