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:
@@ -5274,7 +5274,7 @@ void entityclass::entitycollisioncheck()
|
||||
if (graphics.flipmode)
|
||||
{
|
||||
if (graphics.Hitest(graphics.flipsprites[entities[i].drawframe],
|
||||
colpoint1, 1, graphics.flipsprites[entities[j].drawframe], colpoint2, 1))
|
||||
colpoint1, graphics.flipsprites[entities[j].drawframe], colpoint2))
|
||||
{
|
||||
//Do the collision stuff
|
||||
game.deathseq = 30;
|
||||
@@ -5283,7 +5283,7 @@ void entityclass::entitycollisioncheck()
|
||||
else
|
||||
{
|
||||
if (graphics.Hitest(graphics.sprites[entities[i].drawframe],
|
||||
colpoint1, 1, graphics.sprites[entities[j].drawframe], colpoint2, 1) )
|
||||
colpoint1, graphics.sprites[entities[j].drawframe], colpoint2) )
|
||||
{
|
||||
//Do the collision stuff
|
||||
game.deathseq = 30;
|
||||
@@ -5402,7 +5402,7 @@ void entityclass::entitycollisioncheck()
|
||||
if (graphics.flipmode)
|
||||
{
|
||||
if (graphics.Hitest(graphics.flipsprites[entities[i].drawframe],
|
||||
colpoint1, 1, graphics.flipsprites[entities[j].drawframe], colpoint2, 1))
|
||||
colpoint1, graphics.flipsprites[entities[j].drawframe], colpoint2))
|
||||
{
|
||||
//Do the collision stuff
|
||||
game.deathseq = 30;
|
||||
@@ -5412,7 +5412,7 @@ void entityclass::entitycollisioncheck()
|
||||
else
|
||||
{
|
||||
if (graphics.Hitest(graphics.sprites[entities[i].drawframe],
|
||||
colpoint1, 1, graphics.sprites[entities[j].drawframe], colpoint2, 1))
|
||||
colpoint1, graphics.sprites[entities[j].drawframe], colpoint2))
|
||||
{
|
||||
//Do the collision stuff
|
||||
game.deathseq = 30;
|
||||
|
||||
Reference in New Issue
Block a user