summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-08 21:39:57 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-08 21:39:57 +0000
commiteeea994eea737a7715cd321024430800c4186c84 (patch)
treec457048bbf927b7ee0c887cde7da4a0913d63bd4 /src/map/pet.h
parent975e208be2fc880de327d36607a6cc92a5d58c6a (diff)
downloadhercules-eeea994eea737a7715cd321024430800c4186c84.tar.gz
hercules-eeea994eea737a7715cd321024430800c4186c84.tar.bz2
hercules-eeea994eea737a7715cd321024430800c4186c84.tar.xz
hercules-eeea994eea737a7715cd321024430800c4186c84.zip
* Delayed the check for required items when a skill is cast to when they are consumed. Now skills only fail due to lack of items after being cast.
- Please make a bug report if you know of any skill that doesn't work like this in official. * Fixed hp of other party members not being sent when you join a party. * Removed unused global array names_id and renamed some structures that are used with variables of the same name. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11384 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index 821874359..8ecf94d93 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -7,7 +7,7 @@
#define MAX_PET_DB 300
#define MAX_PETLOOT_SIZE 30 // [Valaris] - Changed to MAX_PETLOOT_SIZE [Skotlex]
-struct pet_db {
+struct s_pet_db {
short class_;
char name[NAME_LENGTH],jname[NAME_LENGTH];
short itemID;
@@ -29,7 +29,7 @@ struct pet_db {
int change_target_rate;
struct script_code *script;
};
-extern struct pet_db pet_db[MAX_PET_DB];
+extern struct s_pet_db pet_db[MAX_PET_DB];
enum { PET_CLASS,PET_CATCH,PET_EGG,PET_EQUIP,PET_FOOD };