Corrected comment

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-09-23 08:46:38 +02:00
parent 9d8018e901
commit 6cd2a49829
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE

View file

@ -183,7 +183,7 @@ static void MoveCampCursor()
if (arms_num == 0 && item_num == 0)
return; // Empty inventory
// True if we're currently changing inventory mode (weapons->items / items->weapons)
/// True if we're currently changing cursor position
BOOL bChange = FALSE;
if (gCampActive == FALSE)
@ -538,10 +538,11 @@ BOOL ChargeArmsEnergy(long num)
{
gArmsData[gSelectedArms].num += num;
// Cap the ammo to the maximum ammunition
if (gArmsData[gSelectedArms].num > gArmsData[gSelectedArms].max_num)
gArmsData[gSelectedArms].num = gArmsData[gSelectedArms].max_num;
return TRUE;
return TRUE; // Always successfull
}
void FullArmsEnergy()