mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19: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:
commit
9de61c5b76
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue