From 058881e4eb6379b62551f1dd3a4fca611c01e41e Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Sat, 9 Nov 2019 23:35:58 +0100 Subject: [PATCH] Documentation : Tried to clarify comment on random conversion to short Signed-off-by: Gabriel Ravier --- src/MycParam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MycParam.cpp b/src/MycParam.cpp index 0da79938..f2b96e35 100644 --- a/src/MycParam.cpp +++ b/src/MycParam.cpp @@ -135,7 +135,7 @@ void DamageMyChar(int damage) // Lose a whimsical star 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 if (gMC.equip & 4)