Needs test: ships of a fleet can have the same name
Bug #1643284 reported by
toptopple
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Ships of a single player's fleet can show the same name although they are only few in numbers. In my case there were 6 ships in the fleet. This is a bug compared to feature definition in bug #963842.
Don't know the cardinality of the ship name lists, but intuitively 6 appears too small to be real. So I assume it's a bug.
Build 8181.
Related branches
lp://staging/~widelands-dev/widelands/bug-1643284
- GunChleoc: Approve
-
Diff: 12 lines (+2/-0)1 file modifiedsrc/logic/player.cc (+2/-0)
Changed in widelands: | |
status: | Confirmed → Incomplete |
Changed in widelands: | |
milestone: | build20-rc1 → build21-rc1 |
To post a comment you must log in.
This could be solved by removing the ship name from the available names list each time a ship is created, and then call them Ship 12, Ship 13, etc. when there are no available names left.