summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp4
1 files changed, 2 insertions, 2 deletions
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", "");