fixed typo

This commit is contained in:
MonstersGoBoom 2018-06-04 16:29:55 -04:00
parent 47f7bf2985
commit 54ee18d933
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ static void api_textri(tic_mem* tic, float x1, float y1, float x2, float y2, flo
// are we drawing from the map . ok then at least check before the inner loop
if (use_map == true)
{
for (s32 x = left; x = right; ++x)
for (s32 x = left; x < right; ++x)
{
enum { MapWidth = TIC_MAP_WIDTH * TIC_SPRITESIZE, MapHeight = TIC_MAP_HEIGHT * TIC_SPRITESIZE };
s32 iu = (u >> 16) % MapWidth;