aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/main.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 18:26:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 18:26:59 +0100
commitd9130d78738b6cb1bdc4e7ec65362b0ef46b1035 (patch)
tree00235d096540f315f45767d9dd3b8ec1f4ea3bee /mwe/events/src/main.cpp
parent792cc2ac28eabd892cfeae57e6b98d1c20b00f57 (diff)
`make format`
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);