Commit 9772ed38 authored by VanillaSalt's avatar VanillaSalt

fix

parent 8be4385e
...@@ -519,6 +519,9 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) { ...@@ -519,6 +519,9 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
} }
case STOC_REPLAY: { case STOC_REPLAY: {
mainGame->gMutex.Lock(); mainGame->gMutex.Lock();
mainGame->wPhase->setVisible(false);
if(mainGame->dInfo.player_type < 7)
mainGame->btnLeaveGame->setVisible(false);
mainGame->ebRSName->setText(L""); mainGame->ebRSName->setText(L"");
mainGame->PopupElement(mainGame->wReplaySave); mainGame->PopupElement(mainGame->wReplaySave);
mainGame->gMutex.Unlock(); mainGame->gMutex.Unlock();
......
...@@ -2819,7 +2819,7 @@ int32 field::process_battle_command(uint16 step) { ...@@ -2819,7 +2819,7 @@ int32 field::process_battle_command(uint16 step) {
core.attack_target = 0; core.attack_target = 0;
if((peffect = is_player_affected_by_effect(infos.turn_player, EFFECT_SKIP_BP))) { if((peffect = is_player_affected_by_effect(infos.turn_player, EFFECT_SKIP_BP))) {
core.units.begin()->step = 39; core.units.begin()->step = 39;
if(core.battle_phase_action) if(core.phase_action || core.battle_phase_action)
core.units.begin()->arg1 = 2; core.units.begin()->arg1 = 2;
else core.units.begin()->arg1 = 3; else core.units.begin()->arg1 = 3;
if(is_player_affected_by_effect(infos.turn_player, EFFECT_BP_TWICE)) if(is_player_affected_by_effect(infos.turn_player, EFFECT_BP_TWICE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment