mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 05:00:46 +00:00
Restore SHORT().
This commit is contained in:
parent
0287c6956e
commit
4eb5f09c6f
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…
Reference in a new issue