summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/particle.h b/src/particle.h
index 2e3aa8740..ad448a054 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -25,17 +25,12 @@
#include "actor.h"
#include "guichanfwd.h"
+#include "localconsts.h"
#include "vector.h"
#include <list>
#include <string>
-#ifdef __GNUC__
-#define A_UNUSED __attribute__ ((unused))
-#else
-#define A_UNUSED
-#endif
-
class Map;
class Particle;
class ParticleEmitter;
@@ -280,7 +275,8 @@ class Particle : public Actor
virtual float getAlpha() const
{ return 1.0f; }
- virtual void setAlpha(float alpha A_UNUSED) {}
+ virtual void setAlpha(float alpha A_UNUSED)
+ { }
virtual void setDeathEffect(const std::string &effectFile,
char conditions)