diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-27 14:46:42 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-27 14:46:42 +0000 |
commit | d923a94a3b12267712d2c2c33bfff66c9e51557f (patch) | |
tree | ec240964af7b70a9f2aba951239aa550687505b7 /src/map/intif.c | |
parent | 5612c2738964c0747ecf754b7cf5f834b3e09cef (diff) | |
download | hercules-d923a94a3b12267712d2c2c33bfff66c9e51557f.tar.gz hercules-d923a94a3b12267712d2c2c33bfff66c9e51557f.tar.bz2 hercules-d923a94a3b12267712d2c2c33bfff66c9e51557f.tar.xz hercules-d923a94a3b12267712d2c2c33bfff66c9e51557f.zip |
* Cast time of Emergency Call is doubled if you master of High Jump.
* High Jump can't be used on PvP maps.
* Fixed a potential null pointer from last commit.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index a663a226e..ff7c9f608 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1377,10 +1377,11 @@ int intif_parse_questlog(int fd) int intif_parse_questsave(int fd) { - TBL_PC *sd = map_id2sd(RFIFOL(fd, 2)); + int cid = RFIFOL(fd, 2); + TBL_PC *sd = map_id2sd(cid); if( !RFIFOB(fd, 6) ) - ShowError("intif_parse_questsave: Failed to save quest(s) for character %d!\n", sd->status.char_id); + ShowError("intif_parse_questsave: Failed to save quest(s) for character %d!\n", cid); else if( sd ) sd->save_quest = false; |