summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
commit00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706 (patch)
tree392f5a42264939994bafb438f71d697d05253047 /src/map/atcommand.c
parentc5460b307a161cc0ff7209e04d278ff8ed131ba6 (diff)
downloadhercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.gz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.bz2
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.xz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.zip
* Merged changes up to eAthena 15061.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 95df2d959..78cd7a6a9 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7174,19 +7174,8 @@ ACMD_FUNC(mobinfo)
/*=========================================
* @showmobs by KarLaeda
-* => For 5 sec displays the mobs on minimap
+* => For 15 sec displays the mobs on minimap
*------------------------------------------*/
-int atshowmobs_timer(int tid, unsigned int tick, int id, intptr_t data)
-{
- struct map_session_data* sd = map_id2sd(id);
- if( sd == NULL )
- return 0;
-
- // remove indicator
- clif_viewpoint(sd, 1, 2, 0, 0, (int)data, 0xFFFFFF);
- return 1;
-}
-
ACMD_FUNC(showmobs)
{
char mob_name[100];
@@ -7240,8 +7229,7 @@ ACMD_FUNC(showmobs)
continue; // hide mobs waiting for respawn
++number;
- clif_viewpoint(sd, 1, 1, md->bl.x, md->bl.y, number, 0xFFFFFF);
- add_timer(gettick()+5000, atshowmobs_timer, sd->bl.id, number);
+ clif_viewpoint(sd, 1, 0, md->bl.x, md->bl.y, number, 0xFFFFFF);
}
mapit_free(it);
@@ -9372,9 +9360,6 @@ void do_init_atcommand() {
atcommand_doload();
- add_timer_func_list(atshowmobs_timer, "atshowmobs_timer");
-
- return;
}
void do_final_atcommand() {