From e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 15 Feb 2009 22:21:45 +0100 Subject: Removed unnecessary parenthesis at constructors When not passing any parameters to constructors, there is no reason for using parenthesis. --- src/statuseffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/statuseffect.cpp') diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index 7a50e794..c0d689f0 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -149,8 +149,8 @@ void StatusEffect::load() the_map = &stunEffects; if (the_map) { - StatusEffect *startEffect = new StatusEffect(); - StatusEffect *endEffect = new StatusEffect(); + StatusEffect *startEffect = new StatusEffect; + StatusEffect *endEffect = new StatusEffect; startEffect->mMessage = XML::getProperty(node, "start-message", ""); startEffect->mSFXEffect = XML::getProperty(node, "start-audio", ""); -- cgit v1.2.3-60-g2f50