aboutsummaryrefslogtreecommitdiff
path: root/src/game/SkillHandler.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 22:59:46 +0200
committerSpp <none@none>2010-04-07 22:59:46 +0200
commit49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (patch)
treef7e6135573366a686c1f527e16a0a7d42a7877ff /src/game/SkillHandler.cpp
parentd19e12708001fbef2308be0e8cb5375a2ac7af48 (diff)
Code style (game + scripts only):
"( " --> "(" " )" --> ")" --HG-- branch : trunk
Diffstat (limited to 'src/game/SkillHandler.cpp')
-rw-r--r--src/game/SkillHandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/SkillHandler.cpp b/src/game/SkillHandler.cpp
index ad4d1c09a87..24e1fb045b1 100644
--- a/src/game/SkillHandler.cpp
+++ b/src/game/SkillHandler.cpp
@@ -28,7 +28,7 @@
#include "ObjectAccessor.h"
#include "UpdateMask.h"
-void WorldSession::HandleLearnTalentOpcode( WorldPacket & recv_data )
+void WorldSession::HandleLearnTalentOpcode(WorldPacket & recv_data)
{
uint32 talent_id, requested_rank;
recv_data >> talent_id >> requested_rank;
@@ -56,7 +56,7 @@ void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
_player->SendTalentsInfoData(false);
}
-void WorldSession::HandleTalentWipeConfirmOpcode( WorldPacket & recv_data )
+void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recv_data)
{
sLog.outDetail("MSG_TALENT_WIPE_CONFIRM");
uint64 guid;
@@ -65,7 +65,7 @@ void WorldSession::HandleTalentWipeConfirmOpcode( WorldPacket & recv_data )
Creature *unit = GetPlayer()->GetNPCIfCanInteractWith(guid,UNIT_NPC_FLAG_TRAINER);
if (!unit)
{
- sLog.outDebug( "WORLD: HandleTalentWipeConfirmOpcode - Unit (GUID: %u) not found or you can't interact with him.", uint32(GUID_LOPART(guid)) );
+ sLog.outDebug("WORLD: HandleTalentWipeConfirmOpcode - Unit (GUID: %u) not found or you can't interact with him.", uint32(GUID_LOPART(guid)));
return;
}
@@ -75,10 +75,10 @@ void WorldSession::HandleTalentWipeConfirmOpcode( WorldPacket & recv_data )
if (!(_player->resetTalents()))
{
- WorldPacket data( MSG_TALENT_WIPE_CONFIRM, 8+4); //you have not any talent
+ WorldPacket data(MSG_TALENT_WIPE_CONFIRM, 8+4); //you have not any talent
data << uint64(0);
data << uint32(0);
- SendPacket( &data );
+ SendPacket(&data);
return;
}