mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Restore SHORT().
This commit is contained in:
parent
4d9d125a99
commit
948582ce4e
1 changed files with 2 additions and 2 deletions
|
|
@ -3351,11 +3351,11 @@ INT16 V_LevelActNumWidth(UINT8 num)
|
|||
INT16 result = 0;
|
||||
|
||||
if (num == 0)
|
||||
result = ttlnum[num]->width;
|
||||
result = SHORT(ttlnum[num]->width);
|
||||
|
||||
while (num > 0 && num <= 99)
|
||||
{
|
||||
result = result + ttlnum[num%10]->width;
|
||||
result = result + SHORT(ttlnum[num%10]->width);
|
||||
num = num/10;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue