summaryrefslogtreecommitdiff
path: root/src/map/npc.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-08-22 13:36:30 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-15 11:46:14 -0400
commitdb232cbf9f4797433d1d9ba8f5dd58fc44a04180 (patch)
treeaa55f485d0f38345a96f4d49c91932f7d50d72f6 /src/map/npc.cpp
parenta5058369055b26bdba51806f3e2457a067670f7a (diff)
downloadtmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.gz
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.bz2
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.xz
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.zip
fix compilation errors
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)