comparison Party.cpp @ 1657:51a74615d956

DamagePlayerFromMonster continuing cleanup, part 3
author Grumpy7
date Wed, 18 Sep 2013 10:22:16 +0200
parents 9a6567c6c76c
children 8251e59fd7c1
comparison
equal deleted inserted replaced
1656:56847118d50c 1657:51a74615d956
618 uLastRegenerationTime = 0x21C00; 618 uLastRegenerationTime = 0x21C00;
619 619
620 bTurnBasedModeOn = false; 620 bTurnBasedModeOn = false;
621 621
622 uActiveCharacter = 1; 622 uActiveCharacter = 1;
623 ::pPlayers[0] = pPlayers; 623 ::pPlayers.ZerothIndex() = pPlayers;
624 for (uint i = 0; i < 4; ++i) 624 for (uint i = 0; i < 4; ++i)
625 ::pPlayers[i + 1] = &pPlayers[i]; 625 ::pPlayers[i + 1] = &pPlayers[i];
626 626
627 pPlayers[0].Reset(PLAYER_CLASS_KNIGHT); 627 pPlayers[0].Reset(PLAYER_CLASS_KNIGHT);
628 pPlayers[1].Reset(PLAYER_CLASS_THEIF); 628 pPlayers[1].Reset(PLAYER_CLASS_THEIF);