diff options
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index 83cdf382..f004a450 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -1,8 +1,9 @@ /* - * The Mana World - * Copyright 2008 The Mana World Development Team + * An effects manager + * Copyright (C) 2008 Fate <fate.tmw@googlemail.com> + * Copyright (C) 2008 Chuck Miller <shadowmil@gmail.com> * - * This file is part of Aethyra. + * This file is part of The Mana World. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +41,7 @@ EffectManager::EffectManager() else { logger->log("Effects are now loading"); - } + } for_each_xml_child_node(node, root) { @@ -78,7 +79,7 @@ bool EffectManager::trigger(int id, Being* being) } if (!(*i).SFX.empty()) sound.playSfx((*i).SFX); - break; + break; } } return rValue; @@ -96,9 +97,8 @@ bool EffectManager::trigger(int id, int x, int y) particleEngine->addEffect((*i).GFX, x, y); if (!(*i).SFX.empty()) sound.playSfx((*i).SFX); - break; + break; } } return rValue; } - |