[freeciv/freeciv] b5a708: 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/S3_2/[email protected]> |
Branch: refs/heads/S3_2
Home: https://github.com/freeciv/freeciv
Commit: b5a7088f0cfdba0f1dc96a7791b7f0b205a9d990
https://github.com/freeciv/freeciv/commit/b5a7088f0cfdba0f1dc96a7791b7f0b205a9d990
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