Core/Script: Code style.

Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
Gyx committed 2012-03-16 19:40:57 +08:00
1 parent ddc0f5d7d6
commit bef1b0c402
55 files changed
+220 -137

No files matched your search

+5 -3
View File
@@ -360,7 +360,9 @@ public:
//Edit Player Spell
static bool HandleModifySpellCommand(ChatHandler* handler, const char* args)
{
if (!*args) return false;
if (!*args)
return false;
char* pspellflatid = strtok((char*)args, " ");
if (!pspellflatid)
return false;
@@ -1141,10 +1143,10 @@ public:
static bool HandleModifyRepCommand(ChatHandler* handler, const char* args)
{
if (!*args) return false;
if (!*args)
return false;
Player* target = handler->getSelectedPlayer();
if (!target)
{
handler->SendSysMessage(LANG_PLAYER_NOT_FOUND);