mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove unused arguments from Graphics::Hitest()
The two arguments 'col' and 'col2', both the only integer arguments of the function, do absolutely nothing. Remove those and update callers.
This commit is contained in:
@@ -1253,7 +1253,7 @@ void Graphics::drawcoloredtile( int x, int y, int t, int r, int g, int b )
|
||||
}
|
||||
|
||||
|
||||
bool Graphics::Hitest(SDL_Surface* surface1, point p1, int col, SDL_Surface* surface2, point p2, int col2)
|
||||
bool Graphics::Hitest(SDL_Surface* surface1, point p1, SDL_Surface* surface2, point p2)
|
||||
{
|
||||
|
||||
//find rectangle where they intersect:
|
||||
|
||||
Reference in New Issue
Block a user