Fixed clipping

This commit is contained in:
jsalmon3 2002-12-22 06:33:19 +00:00
parent 1c9dd069a4
commit 9b1ab17c74

View file

@ -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,