From 753db5b82a92941bffd92650a542038329f5dd6b Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Tue, 18 Jun 2002 20:26:06 +0000 Subject: [PATCH] Fixed warnings --- src/editor/editloop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/editloop.cpp b/src/editor/editloop.cpp index fdc21e473..79b04daeb 100644 --- a/src/editor/editloop.cpp +++ b/src/editor/editloop.cpp @@ -218,7 +218,7 @@ local void EditTile(int x, int y, int tile) if( y ) { ChangeTile(x, y - 1, GetTileNumber(tile, TileToolRandom, TileToolDecoration)); - mf[-TheMap.Width].Flags |= + (mf-TheMap.Width)->Flags |= TheMap.Tileset->FlagsTable[16 + tile * 16]; } else { ChangeTile(x, y + 1, GetTileNumber(tile, TileToolRandom, @@ -235,7 +235,7 @@ local void EditTile(int x, int y, int tile) if( y ) { ChangeTile(x, y - 1, GetTileNumber(tile, TileToolRandom, TileToolDecoration)); - mf[-TheMap.Width].Flags |= + (mf-TheMap.Width)->Flags |= TheMap.Tileset->FlagsTable[16 + tile * 16]; } else { ChangeTile(x, y + 1, GetTileNumber(tile, TileToolRandom,