bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape'

This commit is contained in:
Mathias Gumz 2010-09-15 01:23:56 +02:00
parent 2b62cf9733
commit 52f614b598

View file

@ -151,7 +151,9 @@ void cleanCorners() {
if (nr_shapes == 1) {
s_corners.clear();
} else {
}
if (nr_shapes > 0) {
nr_shapes--; // refcounting
}
}