diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-26 07:33:21 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-26 07:33:21 +0000 |
commit | 952d9ecd0f059e9801c7344154df83e7a7110ead (patch) | |
tree | 17cac8c6203b79330851ee620dd6431c9ce1f62e /src/map/skill.c | |
parent | dd86930bcace0da25bc2963fbfc1c5c3d2787455 (diff) | |
download | hercules-952d9ecd0f059e9801c7344154df83e7a7110ead.tar.gz hercules-952d9ecd0f059e9801c7344154df83e7a7110ead.tar.bz2 hercules-952d9ecd0f059e9801c7344154df83e7a7110ead.tar.xz hercules-952d9ecd0f059e9801c7344154df83e7a7110ead.zip |
Make it work a bit better with win32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@366 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 7f000f4b4..536af3bdb 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4529,6 +4529,9 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int break; case GD_EMERGENCYCALL: { + int dx[9]={-1, 1, 0, 0,-1, 1,-1, 1, 0}; + int dy[9]={ 0, 0, 1,-1, 1,-1,-1, 1, 0}; + int c, j = 0; struct guild *g = NULL; // Only usable during WoE if (!agit_flag) { @@ -4537,9 +4540,6 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int return 0; } // i don't know if it actually summons in a circle, but oh well. ;P - int dx[9]={-1, 1, 0, 0,-1, 1,-1, 1, 0}; - int dy[9]={ 0, 0, 1,-1, 1,-1,-1, 1, 0}; - int c, j = 0; if (sd && sd->status.guild_id > 0 && (g = guild_search(sd->status.guild_id)) && strcmp(sd->status.name,g->master)==0) { for(i = 0; i < g->max_member; i++, j++) { |