summaryrefslogtreecommitdiff
path: root/src/map/script-parse.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2015-01-03 21:50:12 -0800
committerBen Longbons <b.r.longbons@gmail.com>2015-01-03 21:50:12 -0800
commit4c91abd6a020ee030114ae3f22d8f6066e7528be (patch)
tree9f76256eabe4900a7eef6cbb94b7ed2378b93f48 /src/map/script-parse.cpp
parent0a202555d2e12866b3619af92f50cb38ea4adb12 (diff)
parent711680d652a8db17c1b91428b6d6835f30dfb4fd (diff)
downloadtmwa-4c91abd6a020ee030114ae3f22d8f6066e7528be.tar.gz
tmwa-4c91abd6a020ee030114ae3f22d8f6066e7528be.tar.bz2
tmwa-4c91abd6a020ee030114ae3f22d8f6066e7528be.tar.xz
tmwa-4c91abd6a020ee030114ae3f22d8f6066e7528be.zip
Merge remote-tracking branch 'origin/hotfix'
Conflicts: src/map/chrif.cpp
Diffstat (limited to 'src/map/script-parse.cpp')
-rw-r--r--src/map/script-parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-parse.cpp b/src/map/script-parse.cpp
index 878397f..47e0def 100644
--- a/src/map/script-parse.cpp
+++ b/src/map/script-parse.cpp
@@ -134,7 +134,7 @@ Option<Borrowed<str_data_t>> search_strp(XString p)
Borrowed<str_data_t> add_strp(XString p)
{
Option<P<str_data_t>> rv_ = search_strp(p);
- if OPTION_IS_SOME(rv, rv_)
+ if OPTION_IS_SOME_NOLOOP(rv, rv_)
return rv;
RString p2 = p;