diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-16 22:01:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-19 21:53:39 +0300 |
commit | 0bafc4b2f9d9cd01596f28862e6c105af666ec30 (patch) | |
tree | 42a84306edd8a38b12380bd97d36165af25cd556 /src/map/skill.c | |
parent | 0c2cf7579324ade56287b9a15f1fc7c0a8dffffd (diff) | |
download | hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.gz hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.bz2 hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.xz hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.zip |
Replace item id shorts to int in map server.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 64b04e7b4..ed69b8c0f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10246,7 +10246,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * case GN_SLINGITEM: if( sd ) { - short ammo_id; + int ammo_id; int equip_idx = sd->equip_index[EQI_AMMO]; if( equip_idx <= 0 ) break; // No ammo. @@ -19917,7 +19917,7 @@ static bool skill_parse_row_abradb(char *split[], int columns, int current) static bool skill_parse_row_changematerialdb(char *split[], int columns, int current) { // ProductID,BaseRate,MakeAmount1,MakeAmountRate1...,MakeAmount5,MakeAmountRate5 - uint16 skill_id; + int skill_id; short j; int x,y; |