Mercurial > mm7
diff mm7_4.cpp @ 2006:30c2b575d25c
signed fixes
DamagePlayerFromMonster -1 indexing
author | zipi |
---|---|
date | Wed, 06 Nov 2013 13:06:02 +0000 |
parents | c1c74df0a33e |
children | beb97b20c3ed |
line wrap: on
line diff
--- a/mm7_4.cpp Wed Nov 06 00:09:47 2013 -0800 +++ b/mm7_4.cpp Wed Nov 06 13:06:02 2013 +0000 @@ -401,7 +401,7 @@ } //----- (0048A959) -------------------------------------------------------- -unsigned int ReplaceHSV(unsigned int uColor, float h_replace, float s_replace, float v_replace) +signed int ReplaceHSV(unsigned int uColor, float h_replace, float s_replace, float v_replace) { float r = ((uColor & 0x00FF0000) >> 16) / 255.0f, g = ((uColor & 0x0000FF00) >> 8) / 255.0f,