mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-03 16:29:09 +02:00
Corrected variables that set the PaintPlane routine, which had been
changed from returning void to returning int without changing the type of the variable, thus causing a compiler warning.
This commit is contained in:
+2
-2
@@ -697,7 +697,7 @@ DRCInteractionCheck(def, area, erasebox, func, cdarg)
|
||||
int oldTiles, count, x, y, errorSaveType;
|
||||
Rect intArea, square, cliparea, subArea;
|
||||
PaintResultType (*savedPaintTable)[NT][NT];
|
||||
void (*savedPaintPlane)();
|
||||
int (*savedPaintPlane)();
|
||||
struct drcClientData arg;
|
||||
SearchContext scx;
|
||||
|
||||
@@ -897,7 +897,7 @@ DRCFlatCheck(use, area)
|
||||
SearchContext scx;
|
||||
void drcIncCount();
|
||||
PaintResultType (*savedPaintTable)[NT][NT];
|
||||
void (*savedPaintPlane)();
|
||||
int (*savedPaintPlane)();
|
||||
int drcFlatCount = 0;
|
||||
|
||||
UndoDisable();
|
||||
|
||||
Reference in New Issue
Block a user