Remove unused arguments from Graphics::drawtile2()

The 'r', 'g', and 'b' arguments do absolutely nothing. Except unlike
Graphics::drawtile(), there's only one version of Graphics::drawtile2(),
so just remove those args and update callers.
This commit is contained in:
Misa
2020-04-01 15:47:35 -07:00
committed by Ethan Lee
parent 5c60b8df5f
commit 6a28c5de30
3 changed files with 10 additions and 10 deletions

View File

@@ -563,7 +563,7 @@ void Graphics::drawtile( int x, int y, int t )
}
void Graphics::drawtile2( int x, int y, int t, int r, int g, int b )
void Graphics::drawtile2( int x, int y, int t )
{
SDL_Rect rect = { Sint16(x), Sint16(y), tiles_rect.w, tiles_rect.h };
BlitSurfaceStandard(tiles2[t], NULL, backBuffer, &rect);