diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2017-12-29 18:08:19 -0300 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2021-04-15 05:53:27 +0200 |
| commit | 61585de8aee2f2168e54c713d5bfb7c61444d4b3 (patch) | |
| tree | 474a5eddd0d632c08761c850f69d24bbf92e7ccb /src | |
| parent | 6c2d0d709ac461cf0e4b530994923e5a43fb7a94 (diff) | |
Core/Scripts: fix codestyle
(cherry picked from commit e2a97ba7e789748aaa46ace153382573fd7d7df5)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Commands/cs_modify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp index 4931818f171..b7b8a33fa31 100644 --- a/src/server/scripts/Commands/cs_modify.cpp +++ b/src/server/scripts/Commands/cs_modify.cpp @@ -511,13 +511,13 @@ public: if (!*args) return false; - const char* mount_cstr = strtok(const_cast<char*>(args), " "); - const char* speed_cstr = strtok(nullptr, " "); + char const* mount_cstr = strtok(const_cast<char*>(args), " "); + char const* speed_cstr = strtok(nullptr, " "); if (!mount_cstr || !speed_cstr) return false; - uint32 mount = atoul(args); + uint32 mount = atoul(mount_cstr); if (!sCreatureDisplayInfoStore.HasRecord(mount)) { handler->SendSysMessage(LANG_NO_MOUNT); |
