summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-18 22:43:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-18 22:43:41 +0000
commit6ce5dacb5b15f16ff4c672596c091a41a190d687 (patch)
treee2cf5b1ee2869933472b21a3b609ad813fb07652 /src/map/atcommand.c
parent504f2e94093f05ce66be9bf54a5fa64cf5a53d3d (diff)
downloadhercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.gz
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.bz2
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.xz
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.zip
- Removed the old 'mapserver charsave' mechanism
- Fixed some wrong sql login logic - Fixed some compiler warnings, cleaned up mapserver sql-related vars git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10027 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 72664aa1c..25a6b4e19 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2913,6 +2913,8 @@ int atcommand_gm(const int fd, struct map_session_data* sd, const char* command,
return 0;
}
+// helper function, used in foreach calls to stop auto-attack timers
+// parameter: '0' - everyone, 'id' - only those attacking someone with that id
static int atcommand_stopattack(struct block_list *bl,va_list ap)
{
struct unit_data *ud = unit_bl2ud(bl);