summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-15 21:12:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-15 21:12:45 +0000
commit9a309db58c70c994d7f937a243b52fe27a6c1f1d (patch)
treee3e40a7c60acb6a17687505da4197a77f355e1bf /src/map/map.h
parent4aacac823607e804583d401bc2e27e7ca94865b6 (diff)
downloadhercules-9a309db58c70c994d7f937a243b52fe27a6c1f1d.tar.gz
hercules-9a309db58c70c994d7f937a243b52fe27a6c1f1d.tar.bz2
hercules-9a309db58c70c994d7f937a243b52fe27a6c1f1d.tar.xz
hercules-9a309db58c70c994d7f937a243b52fe27a6c1f1d.zip
- Cleaned up some of the pet related @/# commands, same for some script commands.
- Moved s_pet structure from map_session_data to pet_data, this enabled the removal of a few redundant values in the pet_data structure (name, class, equip) - Pet offensive skills who's inf value is self will be casted on the pet now (for stuff like Grand Cross) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8301 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 37a0b9c54..f2403ec1e 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -749,7 +749,6 @@ struct map_session_data {
char message[MESSAGE_SIZE];
struct vending vending[MAX_VENDING];
- struct s_pet pet;
struct pet_data *pd;
struct s_homunculus homunculus ; //[orn]
@@ -961,15 +960,13 @@ struct pet_data {
struct block_list bl;
struct unit_data ud;
struct view_data vd;
+ struct s_pet pet;
struct status_data status;
struct mob_db *db;
struct pet_db *petDB;
int pet_hungry_timer;
int target_id;
short n;
- short class_;
- short equip;
- char name[NAME_LENGTH];
struct {
unsigned skillbonus : 1;
} state;