From 082d33ad9ef22e0e07e1479d0fe2593a92f750ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ty=C3=A1s=20Mustoha?= Date: Sun, 31 Mar 2024 14:49:04 +0200 Subject: [PATCH] Fixed a compiler warning --- src/smw/gamemodes/Greed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/smw/gamemodes/Greed.cpp b/src/smw/gamemodes/Greed.cpp index 39ee311f..6eeaf4a1 100644 --- a/src/smw/gamemodes/Greed.cpp +++ b/src/smw/gamemodes/Greed.cpp @@ -48,6 +48,7 @@ constexpr short killStyleDamage(KillStyle style) { case KillStyle::Spiny: return 2; case KillStyle::Phanto: return 2; } + return 0; } } // namespace