summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 20:50:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 20:50:23 +0000
commit22ca80169f4034a67d33d08447882e7355979f7c (patch)
treebff7dd8b5593fb674b5b677b6fa4e1a49d328855
parent575c8b8ccde247ae48ba7bf84c9931034e9eab48 (diff)
downloadhercules-22ca80169f4034a67d33d08447882e7355979f7c.tar.gz
hercules-22ca80169f4034a67d33d08447882e7355979f7c.tar.bz2
hercules-22ca80169f4034a67d33d08447882e7355979f7c.tar.xz
hercules-22ca80169f4034a67d33d08447882e7355979f7c.zip
- Fixed the Homunculus hungry timer not starting on login.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9336 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/clif.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 83e53bad1..a5ffeba86 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/11/27
+ * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
* Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
* Some cleanups on the trade_additem function. When specifying a qty of 0,
an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
diff --git a/src/map/clif.c b/src/map/clif.c
index be3309aa3..5d6dded43 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8400,6 +8400,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
if(sd->pd && sd->pd->pet.intimate > 900)
clif_pet_emotion(sd->pd,(sd->pd->pet.class_ - 100)*100 + 50 + pet_hungry_val(sd->pd));
+ if(sd->hd)
+ merc_hom_init_timers(sd->hd);
//Delayed night effect on log-on fix for the glow-issue. Thanks to Larry.
if (night_flag && map[sd->bl.m].flag.nightenabled)