summaryrefslogtreecommitdiff
path: root/src/map/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.cpp')
-rw-r--r--src/map/npc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.cpp b/src/map/npc.cpp
index a40a4ec..c55dbbf 100644
--- a/src/map/npc.cpp
+++ b/src/map/npc.cpp
@@ -61,8 +61,8 @@ namespace tmwa
{
namespace map
{
-const std::vector<ByteCode> fake_buffer;
-const ScriptBuffer& fake_script = reinterpret_cast<const ScriptBuffer&>(fake_buffer);
+static const std::vector<ByteCode> fake_buffer;
+static const ScriptBuffer& fake_script = reinterpret_cast<const ScriptBuffer&>(fake_buffer);
static
Borrowed<const ScriptBuffer> script_or_parent(dumb_ptr<npc_data_script> nd)