J :
* Fix the acting player. * This should make most things work. * I still witness some segfaults.
This commit is contained in:
@@ -251,6 +251,8 @@ GameObserver::~GameObserver(){
|
|||||||
|
|
||||||
void GameObserver::Update(float dt){
|
void GameObserver::Update(float dt){
|
||||||
Player * player = currentPlayer;
|
Player * player = currentPlayer;
|
||||||
|
if (Constants::MTG_PHASE_COMBATBLOCKERS == currentGamePhase && BLOCKERS == combatStep)
|
||||||
|
player = player->opponent();
|
||||||
currentActionPlayer = player;
|
currentActionPlayer = player;
|
||||||
if (isInterrupting) player = isInterrupting;
|
if (isInterrupting) player = isInterrupting;
|
||||||
mLayers->Update(dt,player);
|
mLayers->Update(dt,player);
|
||||||
|
|||||||
Reference in New Issue
Block a user