Added return values to DBPaintPlaneVert(), which was missing them

and causing compiling under clang-10 to fail.
This commit is contained in:
Tim Edwards 2021-02-13 20:40:52 -05:00
parent d1f7e43dcc
commit f11a718368
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.125
8.3.126

View File

@ -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;
}
/*