mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 17:37:39 +00:00
guard against double-finishshape
This commit is contained in:
@@ -1882,6 +1882,7 @@ void finishshape() {
|
||||
if(allminus || allplus) last->flags |= POLY_VCONVEX;
|
||||
|
||||
allshapes.push_back(last);
|
||||
last = NULL;
|
||||
|
||||
/* if(isnan(area)) ;
|
||||
else if(intval(hpc[last->s], hpc[last->e-1]) > 1e-6)
|
||||
|
Reference in New Issue
Block a user