summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.js b/play.js
index 9a3ac97..7529a8b 100644
--- a/play.js
+++ b/play.js
@@ -125,6 +125,7 @@ const V_POLITICS = 1
const V_HUSSARS = 2
const V_MOVEMENT = 4
const V_RETREAT = 8
+const V_COMBAT = 16
const SPADES = 0
const CLUBS = 1
@@ -1837,6 +1838,7 @@ function phase_list(phase) {
if (phase & V_POLITICS) list.push("politics")
if (phase & V_HUSSARS) list.push("hussars")
if (phase & V_MOVEMENT) list.push("movement")
+ if (phase & V_COMBAT) list.push("combat")
if (phase & V_RETREAT) list.push("retreat")
return list.join(" ")
}
@@ -1926,6 +1928,8 @@ function propose_deal() {
window.b_phase_movement.checked = false
window.a_phase_retreat.checked = false
window.b_phase_retreat.checked = false
+ window.a_phase_combat.checked = false
+ window.b_phase_combat.checked = false
form.a_power.value = view.power
switch (view.power) {