1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

This one slipped through

This commit is contained in:
Valentin Ochs 2017-01-14 18:30:58 +01:00
parent 4c7c4c240e
commit d57d989963

View file

@ -199,7 +199,7 @@ void ScriptedEntity::initSegments(int numSegments, int minDist, int maxDist, std
this->minDist = minDist;
this->maxDist = maxDist;
segments.resize(numSegments);
for (size_t i = segments.size(); i-- >= 0 ; )
for (size_t i = segments.size(); i-- > 0 ; )
{
Quad *q = new Quad;
if (i == segments.size()-1)