From 6a07ab586cb3f472657a8572a6b7270ea8751f6a Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Mon, 12 Dec 2016 10:14:32 +0100 Subject: Fix new errors --- src/fieldmap.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/fieldmap.c') diff --git a/src/fieldmap.c b/src/fieldmap.c index cd9baa217..0470d33ff 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -156,8 +156,8 @@ void sub_8056134(int x, int y, struct MapHeader *mapHeader, int x2, int y2, int void fillSouthConnection(struct MapHeader *mapHeader, struct MapHeader *connectedMapHeader, s32 offset) { int x, y; - int x2, y2; - int width, height; + int x2; + int width; int cWidth; if (connectedMapHeader) { @@ -190,9 +190,9 @@ void fillSouthConnection(struct MapHeader *mapHeader, struct MapHeader *connecte } void fillNorthConnection(struct MapHeader *mapHeader, struct MapHeader *connectedMapHeader, s32 offset) { - int x, y; + int x; int x2, y2; - int width, height; + int width; int cWidth, cHeight; if (connectedMapHeader) { @@ -229,9 +229,9 @@ void fillNorthConnection(struct MapHeader *mapHeader, struct MapHeader *connecte void fillWestConnection(struct MapHeader *mapHeader, struct MapHeader *connectedMapHeader, s32 offset) { - int x, y; + int y; int x2, y2; - int width, height; + int height; int cWidth, cHeight; if (connectedMapHeader) { cWidth = connectedMapHeader->mapData->width; @@ -265,9 +265,9 @@ void fillWestConnection(struct MapHeader *mapHeader, struct MapHeader *connected void fillEastConnection(struct MapHeader *mapHeader, struct MapHeader *connectedMapHeader, s32 offset) { int x, y; - int x2, y2; - int width, height; - int cWidth, cHeight; + int y2; + int height; + int cHeight; if (connectedMapHeader) { cHeight = connectedMapHeader->mapData->height; x = mapHeader->mapData->width + 7; -- cgit v1.2.3