diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 17:17:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 17:17:26 +0000 |
commit | 5ca6022c40792a839c62f370c2671d802811f383 (patch) | |
tree | d6763838a3857857368fe0e7a82ee046e2d34ad2 /src/map/intif.c | |
parent | fe759b1f276fc8f904da206717a278fefa9a7a17 (diff) | |
download | hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.gz hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.bz2 hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.xz hercules-5ca6022c40792a839c62f370c2671d802811f383.zip |
- Fixed char-server not sending party status update when a member logs on/off
- Fixed crash when parsing guild member information change from the char-server when the specified character is not found in the guild.
- Fixed MvP mobs giving exp when killed even if they shouldn't
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9802 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index ad749d5f9..d53d6b8f2 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1267,6 +1267,8 @@ int intif_parse_GuildMemberInfoChanged(int fd) if( g==NULL ) return 0; idx=guild_getindex(g,account_id,char_id); + if (idx == -1) + return 0; switch(type){ case GMI_POSITION: g->member[idx].position=dd; |