aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestDef.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/QuestDef.cpp
parentd19e12708001fbef2308be0e8cb5375a2ac7af48 (diff)
Code style (game + scripts only):
"( " --> "(" " )" --> ")" --HG-- branch : trunk
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r--src/game/QuestDef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp
index 23222831fc4..7f3bda0682d 100644
--- a/src/game/QuestDef.cpp
+++ b/src/game/QuestDef.cpp
@@ -151,19 +151,19 @@ Quest::Quest(Field * questRecord)
for (int i=0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i)
{
- if ( ReqItemId[i] )
+ if (ReqItemId[i])
++m_reqitemscount;
}
for (int i=0; i < QUEST_OBJECTIVES_COUNT; ++i)
{
- if ( ReqCreatureOrGOId[i] )
+ if (ReqCreatureOrGOId[i])
++m_reqCreatureOrGOcount;
}
for (int i=0; i < QUEST_REWARDS_COUNT; ++i)
{
- if ( RewItemId[i] )
+ if (RewItemId[i])
++m_rewitemscount;
}
@@ -174,9 +174,9 @@ Quest::Quest(Field * questRecord)
}
}
-uint32 Quest::XPValue( Player *pPlayer ) const
+uint32 Quest::XPValue(Player *pPlayer) const
{
- if ( pPlayer )
+ if (pPlayer)
{
const QuestXPEntry *xpentry;