fertig-classic-games/assets
Brian Fertig 543f751fe2 fix: cap city shields at build cost to prevent overflow display
When a city cannot complete a build (e.g., size < 2 for settlers),
shields were accumulating past the build cost, showing confusing
values like "60/40 shields" or negative turn counts.

- Cap shieldBox at buildCost each turn in processCity
- Clamp displayed shields to min(shieldBox, cost) in city screen
- Add tests verifying shield capping and stalled build completion
2026-07-16 10:18:11 -06:00
..
fonts
…
fx
…
gamedata/peggle
…
images fix: cap city shields at build cost to prevent overflow display 2026-07-16 10:18:11 -06:00
info
…
music
…
speech
…
tutorial-videos
…
videos
…