shithub: cstory

Download patch

ref: 058881e4eb6379b62551f1dd3a4fca611c01e41e
parent: 5b18283e5f8dffd4cae6b5b7ef09d67237383db5
author: Gabriel Ravier <gabravier@gmail.com>
date: Sat Nov 9 18:35:58 EST 2019

Documentation : Tried to clarify comment on random conversion to short

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/MycParam.cpp
+++ b/src/MycParam.cpp
@@ -135,7 +135,7 @@
 
 	// 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)