Feature #1769 » 0007-savegame3.c-version-gate-goto_tile-sanity-logging.patch
| server/savegame/savegame3.c | ||
|---|---|---|
|
if (punit->activity == ACTIVITY_GOTO) {
|
||
|
/* goto_tile should never be NULL with ACTIVITY_GOTO */
|
||
|
log_sg("Unit %d on goto without goto_tile. Aborting goto.",
|
||
|
punit->id);
|
||
|
sg_regr(3010600, "Unit %d on goto without goto_tile. Aborting goto.",
|
||
|
punit->id);
|
||
|
punit->activity = ACTIVITY_IDLE;
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »