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:
parent
4c7c4c240e
commit
d57d989963
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void ScriptedEntity::initSegments(int numSegments, int minDist, int maxDist, std
|
||||||
this->minDist = minDist;
|
this->minDist = minDist;
|
||||||
this->maxDist = maxDist;
|
this->maxDist = maxDist;
|
||||||
segments.resize(numSegments);
|
segments.resize(numSegments);
|
||||||
for (size_t i = segments.size(); i-- >= 0 ; )
|
for (size_t i = segments.size(); i-- > 0 ; )
|
||||||
{
|
{
|
||||||
Quad *q = new Quad;
|
Quad *q = new Quad;
|
||||||
if (i == segments.size()-1)
|
if (i == segments.size()-1)
|
||||||
|
|
Loading…
Reference in a new issue