mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unnecessary draw string and address
This commit is contained in:
parent
83de03b260
commit
ab12cda49d
|
@ -14,12 +14,11 @@
|
|||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../addresses.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../interface/themes.h"
|
||||
#include "../interface/viewport.h"
|
||||
#include "../interface/widget.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../interface/viewport.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../openrct2.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
|
@ -193,12 +192,11 @@ static void window_changelog_scrollpaint(rct_window *w, rct_drawpixelinfo *dpi,
|
|||
{
|
||||
gCurrentFontFlags = 0;
|
||||
gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM;
|
||||
gfx_draw_string(dpi, RCT2_ADDRESS(0x009C383D, char), 1, dpi->x, dpi->y);
|
||||
|
||||
int x = 3;
|
||||
int y = 3;
|
||||
for (int i = 0; i < _changelogNumLines; i++) {
|
||||
gfx_draw_string(dpi, _changelogLines[i], 254, x, y);
|
||||
gfx_draw_string(dpi, _changelogLines[i], w->colours[0], x, y);
|
||||
y += 11;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue