summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 06:30:50 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 06:30:50 +0000
commitad9f039b3071a3ee648f425f69f7132db7208f2e (patch)
treecdefc91039662fd13392f096f58b5e9e68e8b240 /src/map/chrif.c
parente96413206e743d6d4d20955e41740104164997c7 (diff)
downloadhercules-ad9f039b3071a3ee648f425f69f7132db7208f2e.tar.gz
hercules-ad9f039b3071a3ee648f425f69f7132db7208f2e.tar.bz2
hercules-ad9f039b3071a3ee648f425f69f7132db7208f2e.tar.xz
hercules-ad9f039b3071a3ee648f425f69f7132db7208f2e.zip
fix crash
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@455 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index d11604bc3..bc5392b22 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -140,7 +140,7 @@ int chrif_sendmap(int fd)
WFIFOW(fd,0) = 0x2afa;
for(i = 0; i < map_num; i++)
- if (map[i].alias[0] != '\0') // [MouseJstr] map aliasing
+ if (map[i].alias != '\0') // [MouseJstr] map aliasing
memcpy(WFIFOP(fd,4+i*16), map[i].alias, 16);
else
memcpy(WFIFOP(fd,4+i*16), map[i].name, 16);