mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-25 03:21:56 +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;
|
INT16 result = 0;
|
||||||
|
|
||||||
if (num == 0)
|
if (num == 0)
|
||||||
result = ttlnum[num]->width;
|
result = SHORT(ttlnum[num]->width);
|
||||||
|
|
||||||
while (num > 0 && num <= 99)
|
while (num > 0 && num <= 99)
|
||||||
{
|
{
|
||||||
result = result + ttlnum[num%10]->width;
|
result = result + SHORT(ttlnum[num%10]->width);
|
||||||
num = num/10;
|
num = num/10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue