From 83db3bbee4e19e7426a32ee89ad6c2d8e48260f2 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 18 Jun 2013 20:03:57 -0700 Subject: Also poison memcpy, memmove, and memset --- src/map/mob.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/map/mob.hpp') diff --git a/src/map/mob.hpp b/src/map/mob.hpp index 1c7cfab..66dbc53 100644 --- a/src/map/mob.hpp +++ b/src/map/mob.hpp @@ -26,7 +26,7 @@ struct mob_skill short emotion; }; -struct mob_db +struct mob_db_ { char name[24], jname[24]; int lv; @@ -51,10 +51,9 @@ struct mob_db int sex; short hair, hair_color, weapon, shield, head_top, head_mid, head_buttom, option, clothes_color; // [Valaris] int equip; // [Valaris] - int maxskill; - struct mob_skill skill[MAX_MOBSKILL]; + std::vector skills; }; -extern struct mob_db mob_db[]; +extern struct mob_db_ mob_db[]; int mobdb_searchname(const char *str); int mobdb_checkid(const int id); -- cgit v1.2.3-70-g09d2