diff options
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 5f5b61370..0b9a0808f 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5696,7 +5696,9 @@ int atcommand_mapinfo( clif_displaymessage(fd, atcmd_output);
if (map[m_id].flag.nosave) {
- if (map[m_id].save.x == -1 || map[m_id].save.y == -1 )
+ if (!map[m_id].save.map)
+ sprintf(atcmd_output, "No Save (Return to last Save Point)");
+ else if (map[m_id].save.x == -1 || map[m_id].save.y == -1 )
sprintf(atcmd_output, "No Save, Save Point: %s,Random",mapindex_id2name(map[m_id].save.map));
else
sprintf(atcmd_output, "No Save, Save Point: %s,%d,%d",
|