summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:21:45 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:25:38 +0100
commite4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 (patch)
treeb07ce915d1e5d4cdd83cf4ab858c69d782ab0fe0 /src/localplayer.cpp
parent08c9cde4726f94698ea938d464cd1de95b7be587 (diff)
downloadmana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.gz
mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.bz2
mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.xz
mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.zip
Removed unnecessary parenthesis at constructors
When not passing any parameters to constructors, there is no reason for using parenthesis.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 33f2f480..2487ab54 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -68,7 +68,7 @@ LocalPlayer::LocalPlayer(Uint32 id, Uint16 job, Map *map):
ATK_BONUS(0), MATK_BONUS(0), DEF_BONUS(0), MDEF_BONUS(0), FLEE_BONUS(0),
mStatPoint(0), mSkillPoint(0),
mStatsPointsToAttribute(0),
- mEquipment(new Equipment()),
+ mEquipment(new Equipment),
mXp(0), mNetwork(0),
mTarget(NULL), mPickUpTarget(NULL),
mTrading(false), mGoingToTarget(false),
@@ -680,7 +680,7 @@ void LocalPlayer::loadTargetCursor(std::string filename, int width, int height,
ResourceManager *resman = ResourceManager::getInstance();
currentImageSet = resman->getImageSet(filename, width, height);
- Animation *anim = new Animation();
+ Animation *anim = new Animation;
for (unsigned int i = 0; i < currentImageSet->size(); ++i)
{