summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 14:38:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 14:38:18 +0000
commit56e909438c6cf5011eb8ccdbcf0052d79de9d620 (patch)
tree0b2387a0c981877535b4989dd5d98b1b4298a51d /src/map/pet.c
parenta4a17c165ecc718ca8f0ac0a25a4a39ee471c72d (diff)
downloadhercules-56e909438c6cf5011eb8ccdbcf0052d79de9d620.tar.gz
hercules-56e909438c6cf5011eb8ccdbcf0052d79de9d620.tar.bz2
hercules-56e909438c6cf5011eb8ccdbcf0052d79de9d620.tar.xz
hercules-56e909438c6cf5011eb8ccdbcf0052d79de9d620.zip
- Fixed a possible null pointer in script command misc_effect
- Modified Investigate to take into consideration final def/vit-def rather than base values for damage adjustment. - Added missing include unit.h in pet.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6695 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 94d652aa5..43c95df86 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -25,6 +25,7 @@
#include "npc.h"
#include "script.h"
#include "skill.h"
+#include "unit.h"
#define MIN_PETTHINKTIME 100