[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)

This commit is contained in:
Spp
2011-09-15 14:12:57 +02:00
parent 9006e4e8dc
commit af05915b9e
431 changed files with 3131 additions and 3131 deletions
+3 -3
View File
@@ -20,7 +20,7 @@
#include "Player.h"
#include "World.h"
Quest::Quest(Field * questRecord)
Quest::Quest(Field* questRecord)
{
QuestId = questRecord[0].GetUInt32();
QuestMethod = questRecord[1].GetUInt32();
@@ -166,12 +166,12 @@ Quest::Quest(Field * questRecord)
++m_rewchoiceitemscount;
}
uint32 Quest::XPValue(Player *pPlayer) const
uint32 Quest::XPValue(Player* pPlayer) const
{
if (pPlayer)
{
int32 quest_level = (QuestLevel == -1 ? pPlayer->getLevel() : QuestLevel);
const QuestXPEntry *xpentry = sQuestXPStore.LookupEntry(quest_level);
const QuestXPEntry* xpentry = sQuestXPStore.LookupEntry(quest_level);
if (!xpentry)
return 0;
+2 -2
View File
@@ -182,8 +182,8 @@ class Quest
{
friend class ObjectMgr;
public:
Quest(Field * questRecord);
uint32 XPValue(Player *pPlayer) const;
Quest(Field* questRecord);
uint32 XPValue(Player* pPlayer) const;
bool HasFlag(uint32 flag) const { return (QuestFlags & flag) != 0; }
void SetFlag(uint32 flag) { QuestFlags |= flag; }