diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-21 23:13:54 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:38 +0100 |
commit | 37d4521ee7a9911f1dd89ee3768b2a9cce7c7f1c (patch) | |
tree | c6e716a789a91db27297e4a5062378e6af3f63b6 /ui.js | |
parent | e96d693c9e4b228a108f2a490bfd82f2df154803 (diff) | |
download | crusader-rex-37d4521ee7a9911f1dd89ee3768b2a9cce7c7f1c.tar.gz |
crusader: Fix sea moves.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -362,6 +362,10 @@ function update_steps(b, steps, element) { } function layout_blocks(location, secret, known) { + if (label_layout == 'stack') + document.getElementById("map").classList.add("stack_layout"); + else + document.getElementById("map").classList.remove("stack_layout"); if (label_layout == 'spread' || (location == S_POOL || location == F_POOL || location == DEAD)) layout_blocks_spread(location, secret, known); else @@ -677,15 +681,19 @@ function update_battle() { if (player == FRANK) { fill_cell("FR", game.battle.FR, true); fill_cell("FA", game.battle.FA, false); + fill_cell("FB", game.battle.FB, false); fill_cell("FC", game.battle.FC, false); fill_cell("EA", game.battle.SA, false); + fill_cell("EB", game.battle.SB, false); fill_cell("EC", game.battle.SC, false); fill_cell("ER", game.battle.SR, true); } else { fill_cell("ER", game.battle.FR, true); fill_cell("EA", game.battle.FA, false); + fill_cell("EB", game.battle.FB, false); fill_cell("EC", game.battle.FC, false); fill_cell("FA", game.battle.SA, false); + fill_cell("FB", game.battle.SB, false); fill_cell("FC", game.battle.SC, false); fill_cell("FR", game.battle.SR, true); } |