Feature #608 » 0086-savegame-Set-ACTION_NONE-problems-logging-correct-wr.patch
| 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; | ||
| ... | ... | |
|                   "%s", secfile_error()); | ||
|   if (ei == -1) { | ||
|     action = ACTION_NONE; | ||
|   } else { | ||
|   } else if (ei >= 0 && ei < loading->action.size) { | ||
|     action = loading->action.order[ei]; | ||
|   } else { | ||
|     log_sg("Invalid action id for unit %d", punit->id); | ||
|     action = ACTION_NONE; | ||
|   } | ||
|   punit->birth_turn | ||
| ... | ... | |
|           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; | ||