[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user