Rewrote the autotrade mapflag check and display from r14322.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14324 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Paradox924X 2010-06-01 03:24:04 +00:00
parent 6a72859405
commit 5db61a0b0a

View File

@ -4281,8 +4281,11 @@ int atcommand_mapinfo(const int fd, struct map_session_data* sd, const char* com
clif_displaymessage(fd, "------ Map Flags ------");
if (map[m_id].flag.town)
clif_displaymessage(fd, "Town Map");
clif_displaymessage(fd, "Autotrade %s", (battle_config.autotrade_mapflag == map[m_id].flag.autotrade) ? "Enabled" : "Disabled");
if (battle_config.autotrade_mapflag == map[m_id].flag.autotrade)
clif_displaymessage(fd, "Autotrade Enabled");
else
clif_displaymessage(fd, "Autotrade Disabled");
if (map[m_id].flag.battleground)
clif_displaymessage(fd, "Battlegrounds ON");