forked from 0ad/0ad
fix: no longer crashes when attempting to remove node from empty track
This was SVN commit r3478.
This commit is contained in:
parent
54101c169f
commit
2e92baf497
@ -188,7 +188,6 @@ void TNSpline::RemoveNode(const int index)
|
||||
{
|
||||
if (NodeCount == 0 || index > NodeCount - 1 )
|
||||
{
|
||||
Node.pop_back();
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user