mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-04 15:31:05 +00:00
Fix an issue where if the last line of an M_StartMessage was the longest, the box width wouldn't account for it.
This commit is contained in:
parent
3498f1cff1
commit
3ff5e3f8cd
1 changed files with 4 additions and 0 deletions
|
@ -4567,7 +4567,11 @@ void M_StartMessage(const char *string, void *routine,
|
|||
}
|
||||
|
||||
if (i == strlen(message+start))
|
||||
{
|
||||
start += i;
|
||||
if (i > max)
|
||||
max = i;
|
||||
}
|
||||
}
|
||||
|
||||
MessageDef.x = (INT16)((BASEVIDWIDTH - 8*max-16)/2);
|
||||
|
|
Loading…
Reference in a new issue