[freeciv/freeciv] a2d4ff: 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_3/[email protected]> |
Branch: refs/heads/S3_3
Home: https://github.com/freeciv/freeciv
Commit: a2d4ffc2667e7bdf05c4e937280fd5779dc256cf
https://github.com/freeciv/freeciv/commit/a2d4ffc2667e7bdf05c4e937280fd5779dc256cf
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