X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fpatch.cpp;h=a92597d4c95e461a9d1b5773b8fcea2b7bd3e267;hb=1a0075a3f03af095ee32ded7f101cac79267f906;hp=f99e65451d52f90aadcf9df69afc448e799fa198;hpb=70b21eafbe10c90172922d8a7af4f06b9a3b242d;p=xonotic%2Fnetradiant.git diff --git a/radiant/patch.cpp b/radiant/patch.cpp index f99e6545..a92597d4 100644 --- a/radiant/patch.cpp +++ b/radiant/patch.cpp @@ -812,20 +812,20 @@ void Patch::InsertPoints( EMatrixMajor mt, bool bFirst ){ return; } if ( bFirst ) { - pos = height - 1; + pos = 2; } else { - pos = 2; + pos = height - 1; } if ( pos >= height ) { if ( bFirst ) { - pos = height - 1; + pos = 2; } else { - pos = 2; + pos = height - 1; } } else if ( pos == 0 ) { @@ -956,19 +956,19 @@ void Patch::RemovePoints( EMatrixMajor mt, bool bFirst ){ return; } if ( bFirst ) { - pos = height - 3; + pos = 2; } else { - pos = 2; + pos = height - 3; } if ( pos >= height ) { if ( bFirst ) { - pos = height - 3; + pos = 2; } else { - pos = 2; + pos = height - 3; } } else if ( pos == 0 ) {