Core/Scripts: fix codestyle

This commit is contained in:
ariel- authored and Aokromes committed 2018-01-01 15:46:44 +01:00
1 parent b73149c371
commit 515735b36e
1 file changed
+3 -3
+3 -3
View File
@@ -500,13 +500,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);