hedgewars/uTypes.pas
changeset 14535 ec0afe1c6024
parent 14403 87562a68c41f
child 14543 1dab5d92aca7
--- a/hedgewars/uTypes.pas	Wed Jan 09 19:10:11 2019 +0100
+++ b/hedgewars/uTypes.pas	Wed Jan 09 19:39:48 2019 +0100
@@ -168,6 +168,8 @@
             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine, amHammer, // 48
             amResurrector, amDrillStrike, amSnowball, amTardis, amLandGun, // 53
             amIceGun, amKnife, amRubber, amAirMine, amCreeper, amMinigun); // 59
+    // NOTE: If we ever reach 126 ammo types, make sure to skip ammo type number 126 because it's
+    // reserved as synonym for amNothing. See also chSetWeapon.
 
     // Different kind of crates that e.g. hedgehogs can pick up
     TCrateType = (HealthCrate, AmmoCrate, UtilityCrate);