summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-14 02:24:49 +0000
committerFate <fate-tmw@googlemail.com>2009-05-14 02:24:49 +0000
commitf5f588157c209bc90f7c9f14ec4ed1403fdd1ee7 (patch)
tree0f2717916a49ae9e0d24ba041482f15c5118a727 /src/map/atcommand.c
parent92c1c98824efb789709d70ee8d6d5ed6e49b47a3 (diff)
parent94a8a08118ecd9e358d794d430945ada248d0959 (diff)
downloadtmwa-f5f588157c209bc90f7c9f14ec4ed1403fdd1ee7.tar.gz
tmwa-f5f588157c209bc90f7c9f14ec4ed1403fdd1ee7.tar.bz2
tmwa-f5f588157c209bc90f7c9f14ec4ed1403fdd1ee7.tar.xz
tmwa-f5f588157c209bc90f7c9f14ec4ed1403fdd1ee7.zip
Merge branch 'master' of git@gitorious.org:tmw-eathena/mainline
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 374db77..85ff15c 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -574,7 +574,7 @@ void log_atcommand(struct map_session_data *sd, const char *fmt, ...)
sprintf(fullname, "%s.%04d-%02d", gm_logfile_name, year, month);
if (gm_logfile)
- close(gm_logfile);
+ fclose(gm_logfile);
gm_logfile = fopen(fullname, "a");
free(fullname);
@@ -6740,7 +6740,7 @@ int atcommand_summon(const int fd, struct map_session_data* sd, const char* comm
md->state.special_mob_ai=1;
md->mode=mob_db[md->class].mode|0x04;
md->deletetimer=add_timer(tick+60000,mob_timer_delete,id,0);
- clif_misceffect2(&md->bl,344);
+ clif_misceffect(&md->bl,344);
}
clif_skill_poseffect(&sd->bl,AM_CALLHOMUN,1,x,y,tick);
@@ -7011,7 +7011,7 @@ int atcommand_jump_iterate(
memset(output, '\0', sizeof(output));
- pl_sd = map_id2bl(sd->followtarget);
+ pl_sd = (struct map_session_data*)map_id2bl(sd->followtarget);
if (pl_sd)
pl_sd = get_next(pl_sd);