Skip to content

Commit

Permalink
Merge pull request fabiensanglard#15 from willy9561/issue_14_clean_fix
Browse files Browse the repository at this point in the history
inventory percentage is a number not a character
  • Loading branch information
fabiensanglard committed Feb 16, 2014
2 parents 44c79f3 + 64238b9 commit 8a328bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game/src/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ void myospal(int32_t x, int32_t y, short tilenum, int8_t shade, uint8_t orienta
void invennum(int32_t x,int32_t y,uint8_t num1,uint8_t ha,uint8_t sbits)
{
char dabuf[80] = {0};
sprintf(dabuf,"%c",num1);
sprintf(dabuf,"%d",num1);
if(num1 > 99)
{
rotatesprite((x-4)<<16,y<<16,65536L,0,THREEBYFIVE+dabuf[0]-'0',ha,0,sbits,0,0,xdim-1,ydim-1);
Expand Down

0 comments on commit 8a328bb

Please sign in to comment.