diff options
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); |
