You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a transport ship that carries some wares is refitted to warship, its soldier capacity can not be set below the number of on-board wares. The cause is Ship::min_warship_soldier_capacity(). I'm not sure if it would be safe to allow 0 also when ship is not yet a warship: Could onboard transported soldiers be a problem when the refit is completed?
To reproduce
Steps to reproduce the behavior:
Find a transport ship that carries some wares
Refit to warship
Try to set soldier capacity to 0 before it reaches the refitting port
See error
Expected behavior
Soldier capacity should be settable to 0.
Version:
OS: antix/Debian buster + backports
Widelands Version: protected/navalwarfare
The text was updated successfully, but these errors were encountered:
Mirrored from Codeberg
Created on Mon Jan 29 03:25:15 CET 2024 by Tóth András (tothxa)
Describe the bug
If a transport ship that carries some wares is refitted to warship, its soldier capacity can not be set below the number of on-board wares. The cause is
Ship::min_warship_soldier_capacity()
. I'm not sure if it would be safe to allow 0 also when ship is not yet a warship: Could onboard transported soldiers be a problem when the refit is completed?To reproduce
Steps to reproduce the behavior:
Expected behavior
Soldier capacity should be settable to 0.
Version:
The text was updated successfully, but these errors were encountered: