Fixed text scrolling at different resolutions
This commit is contained in:
parent
a2be1064ae
commit
86a6ec16bb
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ local void AddMessage(const char *msg)
|
|||
|
||||
ptr = message + strlen(message);
|
||||
|
||||
while (VideoTextLength(GameFont, message) >= 440+(VideoWidth-640)/2 ) {
|
||||
while (VideoTextLength(GameFont, message) >= 440+(VideoWidth-640) ) {
|
||||
*--ptr = '\0';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue