(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
This commit is contained in:
@@ -237,7 +237,7 @@ void NetworkDrawChatMessage()
|
||||
|
||||
/* Paint the chat messages starting with the lowest at the bottom */
|
||||
for (uint y = NETWORK_CHAT_LINE_HEIGHT; count-- != 0; y += NETWORK_CHAT_LINE_HEIGHT) {
|
||||
DoDrawString(_chatmsg_list[count].message, _chatmsg_box.x + 3, _screen.height - _chatmsg_box.y - y + 1, _chatmsg_list[count].colour);
|
||||
DrawString(_chatmsg_box.x + 3, _chatmsg_box.x + _chatmsg_box.width - 1, _screen.height - _chatmsg_box.y - y + 1, _chatmsg_list[count].message, _chatmsg_list[count].colour);
|
||||
}
|
||||
|
||||
/* Make sure the data is updated next flush */
|
||||
|
Reference in New Issue
Block a user