Commit 4eb5f09c by sphere

Restore SHORT().

parent 0287c695
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment