Project

General

Profile

Feature #608 » 0063-savegame-Set-ACTION_NONE-problems-logging-correct-wr.patch

S3_2 - Marko Lindqvist, 05/23/2024 04:05 AM

View differences:

server/savegame/savegame3.c
order->action = loading->action.order[unconverted];
} else {
if (order->order == ORDER_PERFORM_ACTION) {
log_sg("Invalid action id in order for city rally point %d",
pcity->id);
sg_regr(3020000, "Invalid action id in order for city rally point %d",
pcity->id);
}
order->action = ACTION_NONE;
......
order->action = loading->action.order[unconverted];
} else {
if (order->order == ORDER_PERFORM_ACTION) {
log_sg("Invalid action id in order for unit %d", punit->id);
sg_regr(3020000, "Invalid action id in order for unit %d", punit->id);
}
order->action = ACTION_NONE;
(2-2/2)