diff options
author | Wushin <pasekei@gmail.com> | 2015-04-29 22:21:04 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-04-29 22:21:04 -0500 |
commit | 7da6873424307a6097a86772dd4994eccab041f3 (patch) | |
tree | 6dceca598045692f069299147c676ee29cf24fa4 /src/map/script-fun.cpp | |
parent | 3aa86310112d778f34ce8d2e8bc768849b32ff6f (diff) | |
parent | fcba75bf024dff0b204546d23e1d5ead5968a48d (diff) | |
download | tmwa-7da6873424307a6097a86772dd4994eccab041f3.tar.gz tmwa-7da6873424307a6097a86772dd4994eccab041f3.tar.bz2 tmwa-7da6873424307a6097a86772dd4994eccab041f3.tar.xz tmwa-7da6873424307a6097a86772dd4994eccab041f3.zip |
Merge pull request #72 from wushin/fix-getitemlink
Remove braces and jname from getitemlink
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 3b814aa..4cb4448 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -2311,11 +2311,11 @@ void builtin_getitemlink(ScriptState *st) { OMATCH_CASE_SOME (item_data) { - buf = STRPRINTF("[@@%d|%s@@]"_fmt, item_data->nameid, item_data->jname); + buf = STRPRINTF("@@%d|@@"_fmt, item_data->nameid); } OMATCH_CASE_NONE () { - buf = STRPRINTF("Unknown Item: %s"_fmt, name); + buf = "Unknown Item"_s; } } OMATCH_END (); |