mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 14:10:27 -04:00
fix shops
This commit is contained in:
parent
99378da298
commit
42087c926c
10 changed files with 143 additions and 139 deletions
|
@ -6,7 +6,7 @@ static char *render_int(char *where, int i, int radix) {
|
|||
if (i == 0) return where;
|
||||
char *r = render_int(where, i/radix, radix);
|
||||
int p = i % radix;
|
||||
if (p<=0) {
|
||||
if (p<=9) {
|
||||
*r = p + '0';
|
||||
} else {
|
||||
*r = p + 'A' - 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue