Core: Continued cleanup

If and for whitespaces.
This commit is contained in:
kaelima committed 2011-06-12 02:30:32 +02:00
1 parent da03bbbdab
commit b9e8694540
46 files changed
+219 -222

No files matched your search

+4 -4
View File
@@ -441,10 +441,10 @@ bool ChatHandler::HandleCharacterChangeFactionCommand(const char * args)
uint64 target_guid;
std::string target_name;
if(!extractPlayerTarget((char*)args, &target, &target_guid, &target_name))
if (!extractPlayerTarget((char*)args, &target, &target_guid, &target_name))
return false;
if(target)
if (target)
{
// TODO : add text into database
PSendSysMessage(LANG_CUSTOMIZE_PLAYER, GetNameLink(target).c_str());
@@ -468,10 +468,10 @@ bool ChatHandler::HandleCharacterChangeRaceCommand(const char * args)
Player* target;
uint64 target_guid;
std::string target_name;
if(!extractPlayerTarget((char*)args, &target, &target_guid, &target_name))
if (!extractPlayerTarget((char*)args, &target, &target_guid, &target_name))
return false;
if(target)
if (target)
{
// TODO : add text into database
PSendSysMessage(LANG_CUSTOMIZE_PLAYER, GetNameLink(target).c_str());