[freeciv/freeciv] 7f44cf: sha_unit_new(): Make unit_virtual_create() call legal
freeciv-commits <[email protected]>
| Newsgroups | gmane.games.freeciv.devel |
|---|---|
| Message-ID | <freeciv/freeciv/push/refs/heads/main/[email protected]> |
Branch: refs/heads/main
Home: https://github.com/freeciv/freeciv
Commit: 7f44cfaa4079d0db94cdebe9b65980d1394b289c
https://github.com/freeciv/freeciv/commit/7f44cfaa4079d0db94cdebe9b65980d1394b289c
Author: Marko Lindqvist <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M client/agents/sha.c
Log Message:
-----------
sha_unit_new(): Make unit_virtual_create() call legal
unit_virtual_create() was called with a nullptr unit type,
which is not considered legal value. Pass original unit's
type instead.
See RM #1926
Signed-off-by: Marko Lindqvist <[email protected]>
To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications