diff options
| author | xolatile | 2025-07-21 06:06:50 +0200 |
|---|---|---|
| committer | xolatile | 2025-07-21 06:06:50 +0200 |
| commit | 09a43565940be30b233fa8730e65d531a454a03b (patch) | |
| tree | e7ee95b2964b68611701643376ed500bb7d2ddcd /src/fpsgame/game.h | |
| parent | 39de2c68c8a3f9cd7cffef9364a59c9d412b907e (diff) | |
| download | xolatile-badassbug-09a43565940be30b233fa8730e65d531a454a03b.tar.xz xolatile-badassbug-09a43565940be30b233fa8730e65d531a454a03b.tar.zst | |
Cleaned 95% of -Wall -Wextra...
Diffstat (limited to 'src/fpsgame/game.h')
| -rw-r--r-- | src/fpsgame/game.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fpsgame/game.h b/src/fpsgame/game.h index df0eeb5..3ab0447 100644 --- a/src/fpsgame/game.h +++ b/src/fpsgame/game.h @@ -313,9 +313,9 @@ struct fpsstate case I_HEALTH: return health<maxhealth; case I_TINYARMOUR: - + [[fallthrough]]; case I_GREENARMOUR: - + [[fallthrough]]; case I_YELLOWARMOUR: return maxarmour<is.max || armour<maxarmour; //~case I_TINYARMOUR: @@ -344,14 +344,14 @@ struct fpsstate //~break; case I_BOOST: maxhealth = min(maxhealth+is.info, is.max); - + [[fallthrough]]; case I_HEALTH: // boost also adds to health health = min(health+is.add, maxhealth); break; case I_TINYARMOUR: - + [[fallthrough]]; case I_GREENARMOUR: - + [[fallthrough]]; case I_YELLOWARMOUR: maxarmour = max(maxarmour, is.max); armour = min(armour+is.add, maxarmour); |
