Fixed clipping
This commit is contained in:
parent
1c9dd069a4
commit
9b1ab17c74
1 changed files with 2 additions and 2 deletions
|
@ -724,8 +724,8 @@ global void DrawMessages(void)
|
|||
for (z = 0; z < MessagesCount; z++) {
|
||||
if (z == 0) {
|
||||
PushClipping();
|
||||
SetClipping(TheUI.MapArea.X + 8, TheUI.MapArea.Y + 8, VideoWidth,
|
||||
VideoHeight);
|
||||
SetClipping(TheUI.MapArea.X + 8, TheUI.MapArea.Y + 8, VideoWidth - 1,
|
||||
VideoHeight - 1);
|
||||
}
|
||||
VideoDrawTextClip(TheUI.MapArea.X + 8,
|
||||
TheUI.MapArea.Y + 8 + z * (VideoTextHeight(GameFont) + 1) - MessagesScrollY,
|
||||
|
|
Loading…
Reference in a new issue