Project

General

Profile

Bug #1912 » 0015-Correct-comment-about-owner-field-of-unit-struct.patch

S3_3 - Marko Lindqvist, 04/03/2026 11:36 AM

View differences:

common/unit.h
struct tile *tile;
int refcount;
enum direction8 facing;
struct player *owner; /* Cannot be NULL. */
struct player *owner; /* Can be nullptr on client side, for a flagless unit. */
struct player *nationality;
int id;
int homecity;
int upkeep[O_LAST]; /* unit upkeep with regards to the homecity */
int upkeep[O_LAST]; /* Unit upkeep with regards to the homecity */
int moves_left;
int hp;
(2-2/2)