From 6bd0769c68ca86c5454a360f46d0facbbc75cfe5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 9 Jun 2006 15:12:53 +0000 Subject: - Fixed @mapinfo displaying incorrectly maps with nosave which send you back to your last savepoint. - Moved guild_exp_rate from a mapserver battle config setting to a char server config. It no longer modifies the total taxed exp as seen on the guild information window, but directly modifies the exp that the guild earns. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7074 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/atcommand.c') 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", -- cgit v1.2.3-70-g09d2