diff options
Diffstat (limited to 'source/tile.c')
-rw-r--r-- | source/tile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/tile.c b/source/tile.c index 2211421..31c065a 100644 --- a/source/tile.c +++ b/source/tile.c @@ -467,8 +467,6 @@ static void WRITE_4PIXELS16_ADD(int32 Offset, uint8* Pixels, uint16* ScreenColors) { uint8 Pixel, N; - if (Offset < 0) - Offset = 0; uint16* Screen = (uint16*) GFX.S + Offset; uint8* Depth = GFX.ZBuffer + Offset; @@ -499,8 +497,6 @@ static void WRITE_4PIXELS16_FLIPPED_ADD(int32 Offset, uint8* Pixels, uint16* ScreenColors) { uint8 Pixel, N; - if (Offset < 0) - Offset = 0; uint16* Screen = (uint16*) GFX.S + Offset; uint8* Depth = GFX.ZBuffer + Offset; |