summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorsirius <sirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-20 21:07:45 +0000
committersirius <sirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-20 21:07:45 +0000
commitcf48a28cd318ad30a769de8dd3d1cc36ff504a8f (patch)
tree54df36c46e6cad9611b1f49b15d7fd8ba3870bad /src/map
parent2c9626075ec8e4657ceadeb3ad51c4e2c8b9741e (diff)
downloadhercules-cf48a28cd318ad30a769de8dd3d1cc36ff504a8f.tar.gz
hercules-cf48a28cd318ad30a769de8dd3d1cc36ff504a8f.tar.bz2
hercules-cf48a28cd318ad30a769de8dd3d1cc36ff504a8f.tar.xz
hercules-cf48a28cd318ad30a769de8dd3d1cc36ff504a8f.zip
fixed the guildcastle saving in charsql
fixed the /mm and /mapmove command access bugs .. [Sirius] -This line, and those below, will be ignored-- M src/char_sql/int_guild.c M src/map/clif.c M Changelog-SVN.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1144 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f649093db..0a0db934a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8028,7 +8028,7 @@ void clif_parse_MapMove(int fd, struct map_session_data *sd) {
// not needed -- map_name[16]='\0'; will do
// memset(map_name, '\0', sizeof(map_name));
- if (battle_config.atc_gmonly == 0 || (pc_isGM(sd) >= get_atcommand_level(AtCommand_MapMove))) {
+ if (battle_config.atc_gmonly != 0 || (pc_isGM(sd) >= get_atcommand_level(AtCommand_MapMove))) {
memcpy(map_name, RFIFOP(fd,2), 16);
map_name[16]='\0';
sprintf(output, "%s %d %d", map_name, RFIFOW(fd,18), RFIFOW(fd,20));