mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Added return values to DBPaintPlaneVert(), which was missing them
and causing compiling under clang-10 to fail.
This commit is contained in:
+2
-1
@@ -2573,7 +2573,7 @@ DBPaintPlaneVert(plane, area, resultTbl, undo)
|
||||
Tile *newtile, *tp; /* Used for paint */
|
||||
|
||||
if (area->r_xtop <= area->r_xbot || area->r_ytop <= area->r_ybot)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* The following is a modified version of the area enumeration
|
||||
@@ -2798,6 +2798,7 @@ paintdone:
|
||||
|
||||
done:
|
||||
plane->pl_hint = tile;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user