src/texteff.cpp
branchnoai
changeset 9601 b499fdd106d5
parent 9599 949374e83b78
child 7120 e31767effc16
child 9624 b71483f2330f
equal deleted inserted replaced
9600:59cc173953ae 9601:b499fdd106d5
   244 		);
   244 		);
   245 
   245 
   246 	/* Paint the messages starting with the lowest at the bottom */
   246 	/* Paint the messages starting with the lowest at the bottom */
   247 	for (uint y = 13; count-- != 0; y += 13) {
   247 	for (uint y = 13; count-- != 0; y += 13) {
   248 		DoDrawString(_textmsg_list[count].message, _textmsg_box.x + 3, _screen.height - _textmsg_box.y - y + 1, _textmsg_list[count].color);
   248 		DoDrawString(_textmsg_list[count].message, _textmsg_box.x + 3, _screen.height - _textmsg_box.y - y + 1, _textmsg_list[count].color);
   249  	}
   249 	}
   250 
   250 
   251 	/* Make sure the data is updated next flush */
   251 	/* Make sure the data is updated next flush */
   252 	_video_driver->make_dirty(x, y, width, height);
   252 	_video_driver->make_dirty(x, y, width, height);
   253 
   253 
   254 	_textmessage_visible = true;
   254 	_textmessage_visible = true;