1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01: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); BlitSurfaceColoured((*spritesvec)[obj.entities[i].drawframe+1],NULL, backBuffer, &drawRect, ct);
break; break;
case 11: //The fucking elephant case 11: //The fucking elephant
if (game.noflashingmode)
{
setcol(22);
}
else
{
setcol(obj.entities[i].colour); setcol(obj.entities[i].colour);
}
drawimagecol(3, obj.entities[i].xp, obj.entities[i].yp - yoff); drawimagecol(3, obj.entities[i].xp, obj.entities[i].yp - yoff);
break; break;
case 12: // Regular sprites that don't wrap case 12: // Regular sprites that don't wrap