mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 20:53:51 +00:00

Instead of copy-pasting the multiplayer turns over advantage function, just use that function directly. This required making some changes to the function to better support this specific use-case, but I think it's still better than copy-pasting it. I split the primary functionality out into two separate pieces – calculation and display. Thus, the main function is technically unchanged, while WoF can avoid the weird things it does and just calculate and display how it wants. This fixes #8368.