Documentation : Tried to clarify comment on random conversion to short
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
5b18283e5f
commit
058881e4eb
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void DamageMyChar(int damage)
|
||||||
|
|
||||||
// Lose a whimsical star
|
// Lose a whimsical star
|
||||||
if (gMC.equip & 0x80 && gMC.star > 0)
|
if (gMC.equip & 0x80 && gMC.star > 0)
|
||||||
gMC.star = (short)gMC.star - 1; // For some reason, does a cast to short. Probably not accurate to the original source
|
gMC.star = (short)gMC.star - 1; // For some reason, does a cast to short. Might not accurate to the original source (possibly, Pixel was just being careful about int size/conversion, or this is from some weird macro)
|
||||||
|
|
||||||
// Lose experience
|
// Lose experience
|
||||||
if (gMC.equip & 4)
|
if (gMC.equip & 4)
|
||||||
|
|
Loading…
Add table
Reference in a new issue