aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r--src/game/QuestDef.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp
index 97ff3024bb5..23222831fc4 100644
--- a/src/game/QuestDef.cpp
+++ b/src/game/QuestDef.cpp
@@ -176,13 +176,13 @@ Quest::Quest(Field * questRecord)
uint32 Quest::XPValue( Player *pPlayer ) const
{
- if( pPlayer )
+ if ( pPlayer )
{
const QuestXPEntry *xpentry;
int32 quest_level = (QuestLevel == -1 ? pPlayer->getLevel() : QuestLevel);
xpentry = sQuestXPStore.LookupEntry(quest_level);
- if(!xpentry)
+ if (!xpentry)
return 0;
int diffFactor = 2 * (quest_level - pPlayer->getLevel()) + 20;
@@ -211,7 +211,7 @@ uint32 Quest::XPValue( Player *pPlayer ) const
int32 Quest::GetRewOrReqMoney() const
{
- if(RewOrReqMoney <= 0)
+ if (RewOrReqMoney <= 0)
return RewOrReqMoney;
return int32(RewOrReqMoney * sWorld.getRate(RATE_DROP_MONEY));