diff options
author | wushin <pasekei@gmail.com> | 2015-04-26 22:05:54 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-04-26 22:05:54 -0500 |
commit | fcba75bf024dff0b204546d23e1d5ead5968a48d (patch) | |
tree | c81193479ffff8b66c4c23dba0b58d941cea72bf /src | |
parent | e6ee7b3f99935a594e6462472fdc9d075408da0f (diff) | |
download | tmwa-fcba75bf024dff0b204546d23e1d5ead5968a48d.tar.gz tmwa-fcba75bf024dff0b204546d23e1d5ead5968a48d.tar.bz2 tmwa-fcba75bf024dff0b204546d23e1d5ead5968a48d.tar.xz tmwa-fcba75bf024dff0b204546d23e1d5ead5968a48d.zip |
Remove braces and jname from getitemlink
Diffstat (limited to 'src')
-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 (); |