[Orxonox-commit 2943] r7643 - code/branches/lastmanstanding/src/orxonox/worldentities/pawns

landauf at orxonox.net landauf at orxonox.net
Fri Nov 12 02:42:56 CET 2010


Author: landauf
Date: 2010-11-12 02:42:56 +0100 (Fri, 12 Nov 2010)
New Revision: 7643

Modified:
   code/branches/lastmanstanding/src/orxonox/worldentities/pawns/Pawn.h
Log:
fixed a crash

Modified: code/branches/lastmanstanding/src/orxonox/worldentities/pawns/Pawn.h
===================================================================
--- code/branches/lastmanstanding/src/orxonox/worldentities/pawns/Pawn.h	2010-11-12 00:58:58 UTC (rev 7642)
+++ code/branches/lastmanstanding/src/orxonox/worldentities/pawns/Pawn.h	2010-11-12 01:42:56 UTC (rev 7643)
@@ -154,7 +154,7 @@
             float shieldHealth_;
             float shieldAbsorption_; // Has to be between 0 and 1
 
-            Pawn* lastHitOriginator_;
+            WeakPtr<Pawn> lastHitOriginator_;
 
             WeaponSystem* weaponSystem_;
             bool bReload_;




More information about the Orxonox-commit mailing list