1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00

Merge pull request #293 from InfoTeddy/general-improvements

Make elephant not be flashy if screen effects are disabled
This commit is contained in:
Terry Cavanagh 2020-06-16 11:15:08 +10:30 committed by GitHub
commit 9de61c5b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1674,7 +1674,14 @@ void Graphics::drawentities()
BlitSurfaceColoured((*spritesvec)[obj.entities[i].drawframe+1],NULL, backBuffer, &drawRect, ct);
break;
case 11: //The fucking elephant
setcol(obj.entities[i].colour);
if (game.noflashingmode)
{
setcol(22);
}
else
{
setcol(obj.entities[i].colour);
}
drawimagecol(3, obj.entities[i].xp, obj.entities[i].yp - yoff);
break;
case 12: // Regular sprites that don't wrap