Fixed text scrolling at different resolutions

This commit is contained in:
jsalmon3 2002-05-28 00:55:01 +00:00
parent a2be1064ae
commit 86a6ec16bb

View file

@ -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';
}