diff Party.cpp @ 1657:51a74615d956

DamagePlayerFromMonster continuing cleanup, part 3
author Grumpy7
date Wed, 18 Sep 2013 10:22:16 +0200
parents 9a6567c6c76c
children 8251e59fd7c1
line wrap: on
line diff
--- a/Party.cpp	Wed Sep 18 09:06:28 2013 +0200
+++ b/Party.cpp	Wed Sep 18 10:22:16 2013 +0200
@@ -620,7 +620,7 @@
   bTurnBasedModeOn = false;
 
   uActiveCharacter = 1;
-  ::pPlayers[0] = pPlayers;
+  ::pPlayers.ZerothIndex() = pPlayers;
   for (uint i = 0; i < 4; ++i)
     ::pPlayers[i + 1] = &pPlayers[i];