Blob Blame Raw
diff -up vegastrike-src-0.5.1.beta1/src/resizable.h~ vegastrike-src-0.5.1.beta1/src/resizable.h
--- vegastrike-src-0.5.1.beta1/src/resizable.h~	2010-02-25 15:26:53.000000000 +0100
+++ vegastrike-src-0.5.1.beta1/src/resizable.h	2012-01-17 19:27:12.953863482 +0100
@@ -1,4 +1,5 @@
 #include <cstdlib>
+#include <cstring>
 template < class ITEM >
 class Resizable
 {
diff -up vegastrike-src-0.5.1.beta1/src/cmd/unit_jump.h~ vegastrike-src-0.5.1.beta1/src/cmd/unit_jump.h
--- vegastrike-src-0.5.1.beta1/src/cmd/unit_jump.h~	2010-12-15 09:53:40.000000000 +0100
+++ vegastrike-src-0.5.1.beta1/src/cmd/unit_jump.h	2012-01-17 20:16:33.875846863 +0100
@@ -123,8 +123,8 @@ bool GameUnit< UnitType >::TransferUnitT
                      (tester = *i) != NULL; ++i)
                     if (tester->isUnit() == UNITPTR && tester != this)
                         if ( ( this->LocalPosition()-tester->LocalPosition() ).Magnitude() < this->rSize()+tester->rSize() )
-                            SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR()
-                                           *( 4*( this->rSize()+tester->rSize() ) ) );
+                            this->SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR()
+                                                 *( 4*( this->rSize()+tester->rSize() ) ) );
             DealPossibleJumpDamage( this );
             static int jumparrive = AUDCreateSound( vs_config->getVariable( "unitaudio", "jumparrive", "sfx43.wav" ), false );
             if (dosightandsound)