summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-27 06:32:02 +0000
committerxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-27 06:32:02 +0000
commit65544f2659ecec6d399f23037347e19571da24ab (patch)
treee712d61619ce1817512b01754751fe1dd3a60acf /src
parent3f4b200fe96d3f4d3b26920e9caa210537cbaf3d (diff)
downloadhercules-65544f2659ecec6d399f23037347e19571da24ab.tar.gz
hercules-65544f2659ecec6d399f23037347e19571da24ab.tar.bz2
hercules-65544f2659ecec6d399f23037347e19571da24ab.tar.xz
hercules-65544f2659ecec6d399f23037347e19571da24ab.zip
` Updated item_db_re.sql to match item_db_re.txt
` Renamed a function to say RE instead of RR git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15286 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/itemdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index ae8b84d71..48532dd60 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -711,7 +711,7 @@ static int itemdb_gendercheck(struct item_data *id)
* For backwards compatibility, in Renewal mode, MATK from weapons comes from the atk slot
* We use a ':' delimiter which, if not found, assumes the weapon does not provide any matk.
**/
-void itemdb_rr_split_atoi(char *str, int *atk, int *matk) {
+void itemdb_re_split_atoi(char *str, int *atk, int *matk) {
int i, val[2];
for (i=0; i<2; i++) {
@@ -802,7 +802,7 @@ static bool itemdb_parse_dbrow(char** str, const char* source, int line, int scr
id->weight = atoi(str[6]);
#if REMODE
- itemdb_rr_split_atoi(str[7],&id->atk,&id->matk);
+ itemdb_re_split_atoi(str[7],&id->atk,&id->matk);
#else
id->atk = atoi(str[7]);
#endif