summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-15 12:47:20 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-15 12:47:20 +0000
commit3d3bd79ab6e957db21521d551037439f7c1a512a (patch)
treea2474f2683e22c361255f2b209a2ecbc8c1da7bd /src/map/guild.c
parent10657791075114dc5a8c6345339b82ba1460f6dd (diff)
downloadhercules-3d3bd79ab6e957db21521d551037439f7c1a512a.tar.gz
hercules-3d3bd79ab6e957db21521d551037439f7c1a512a.tar.bz2
hercules-3d3bd79ab6e957db21521d551037439f7c1a512a.tar.xz
hercules-3d3bd79ab6e957db21521d551037439f7c1a512a.zip
Follow up r15862 and r15863. Forgot this \o/. /me feels horribly horrible.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15864 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 990cf16c4..b64da4739 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1824,8 +1824,8 @@ int guild_castledatasave(int castle_id, int index, int value)
void guild_castle_reconnect_sub(void *key, void *data, va_list ap)
{
- int castle_id = GetWord((int)key, 0);
- int index = GetWord((int)key, 1);
+ int castle_id = GetWord((int)__64BPRTSIZE(key), 0);
+ int index = GetWord((int)__64BPRTSIZE(key), 1);
intif_guild_castle_datasave(castle_id, index, *(int *)data);
aFree(data);
}
@@ -1846,7 +1846,7 @@ void guild_castle_reconnect(int castle_id, int index, int value)
int *data;
CREATE(data, int, 1);
*data = value;
- linkdb_replace(&gc_save_pending, (void*)(MakeDWord(castle_id, index)), data);
+ linkdb_replace(&gc_save_pending, (void*)__64BPRTSIZE((MakeDWord(castle_id, index))), data);
}
}