Fix skipping the m249 submodel 1 when updating the cartridge belt

This commit is contained in:
Roman Chistokhodov 2023-06-21 01:04:55 +03:00
parent 28d07d742d
commit efa83646e4

View File

@ -295,7 +295,7 @@ int CM249::BodyFromClip(int clip)
{
if (clip == 0) {
return 8;
} else if (clip > 0 && clip < 8) {
} else if (clip > 0 && clip <= 8) {
return 9 - clip;
} else {
return 0;