summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-31 01:44:18 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-31 01:44:18 +0000
commitf18a667f920daad8874232929c3f7b4680f33276 (patch)
tree26d362aa0db6f1959baf4a225a822b4f06493003 /src/map/skill.c
parent54205b1071d55bdd6fef570b6880e3b1970be50d (diff)
downloadhercules-f18a667f920daad8874232929c3f7b4680f33276.tar.gz
hercules-f18a667f920daad8874232929c3f7b4680f33276.tar.bz2
hercules-f18a667f920daad8874232929c3f7b4680f33276.tar.xz
hercules-f18a667f920daad8874232929c3f7b4680f33276.zip
- Fixed @item so it only displays message "Item created" on success.
- Changed @raisemap to also function as "@healmap". - Changed txt_time() to omit days/hours/seconds if there are none. - Also applied the 'min_chat_delay' to @main, @pettalk and @homtalk. - Fixed a warning in skill.c (bugreport:6593) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8ad773a73..52fec7d52 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -16390,7 +16390,7 @@ int skill_elementalanalysis(struct map_session_data* sd, int n, int skill_lv, un
}
int skill_changematerial(struct map_session_data *sd, int n, unsigned short *item_list) {
- int i, j, k, c, p, nameid, amount;
+ int i, j, k, c, p = 0, nameid, amount;
nullpo_ret(sd);
nullpo_ret(item_list);