diff options
author | HoraK-FDF <horak-fdf@web.de> | 2024-06-24 19:19:31 +0200 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2024-07-02 01:15:17 +0200 |
commit | 084162a7025749885e583d08f7d01e598e143517 (patch) | |
tree | e72d4174caab76c5f4153e6f7112de87a0bd8f8a /src/map/script-fun.cpp | |
parent | 62df54c6bb78456a9eccd641eb8596b7ba228d7f (diff) | |
download | tmwa-084162a7025749885e583d08f7d01e598e143517.tar.gz tmwa-084162a7025749885e583d08f7d01e598e143517.tar.bz2 tmwa-084162a7025749885e583d08f7d01e598e143517.tar.xz tmwa-084162a7025749885e583d08f7d01e598e143517.zip |
code optimization
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 7f63408..74a70b3 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -5543,7 +5543,7 @@ static void builtin_getmapnamefromhash(ScriptState *st) { int hash = conv_num(st, &AARG(0)); - MapName mapname = stringish<MapName>(ZString(""_s)); + MapName mapname; for (auto& mit : maps_db) { map_local *ml = static_cast<map_local *>(mit.second.get()); |