summaryrefslogtreecommitdiff
path: root/src/map/script-startup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script-startup.cpp')
-rw-r--r--src/map/script-startup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-startup.cpp b/src/map/script-startup.cpp
index 1aa63aa..27ec903 100644
--- a/src/map/script-startup.cpp
+++ b/src/map/script-startup.cpp
@@ -102,7 +102,7 @@ bool read_constdb(ZString filename)
rv = false;
continue;
}
- str_data_t *n = add_strp(name);
+ P<str_data_t> n = add_strp(name);
n->type = type ? StringCode::PARAM : StringCode::INT;
n->val = val;
}