mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Scripts: fix codestyle
This commit is contained in:
@@ -502,13 +502,13 @@ public:
|
||||
if (!*args)
|
||||
return false;
|
||||
|
||||
const char* mount_cstr = strtok(const_cast<char*>(args), " ");
|
||||
const char* speed_cstr = strtok(NULL, " ");
|
||||
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.LookupEntry(mount))
|
||||
{
|
||||
handler->SendSysMessage(LANG_NO_MOUNT);
|
||||
|
||||
Reference in New Issue
Block a user