aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/main.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:59:21 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:59:21 +0100
commit8850ba096b6b4ae2dc3a813620dd35433b3c6c55 (patch)
tree6d2dc47bfc543225963ec4bbceefc55ea71fed65 /mwe/events/src/main.cpp
parent8524865e9a62974f77f63d70929000fc63c679d7 (diff)
parentf2509e89c02894ebd3ad992324eb300103621d26 (diff)
Merge branch 'master' into niels/RenderingParticle
Diffstat (limited to 'mwe/events/src/main.cpp')
-rw-r--r--mwe/events/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mwe/events/src/main.cpp b/mwe/events/src/main.cpp
index d49cf74..f4e7390 100644
--- a/mwe/events/src/main.cpp
+++ b/mwe/events/src/main.cpp
@@ -11,7 +11,9 @@
class PlayerDamagedEvent : public Event {
public:
PlayerDamagedEvent(int damage, int playerID)
- : Event("PlayerDamaged"), damage(damage), playerID(playerID) {}
+ : Event("PlayerDamaged"),
+ damage(damage),
+ playerID(playerID) {}
REGISTER_EVENT_TYPE(PlayerDamagedEvent);