diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-26 09:25:55 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-26 09:25:55 +0000 |
commit | 042913149087cff4dad4d36aa1a9c13703472f07 (patch) | |
tree | cd78ad741b36c91f1c0b48a63a8f7366464673fd /src/map/pc.c | |
parent | 525e08137aa36cc2bbd8284f8b48de01bbb70b4f (diff) | |
download | hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.gz hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.bz2 hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.xz hercules-042913149087cff4dad4d36aa1a9c13703472f07.zip |
Moved the new novending cell check from the internal code to the client-server interface (allows server to force-open shop if needed)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11580 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index ccd6955a7..2b218586d 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -943,7 +943,7 @@ int pc_calc_skilltree(struct map_session_data *sd) ShowError("pc_calc_skilltree: Unable to normalize job %d for character %s (%d:%d)\n", i, sd->status.name, sd->status.account_id, sd->status.char_id); return 1; } - c = pc_class2idx(c); + c = pc_class2idx(c); for(i=0;i<MAX_SKILL;i++){ if (sd->status.skill[i].flag != 13) //Don't touch plagiarized skills sd->status.skill[i].id=0; //First clear skills. @@ -1063,7 +1063,7 @@ static void pc_check_skilltree(struct map_session_data *sd, int skill) ShowError("pc_check_skilltree: Unable to normalize job %d for character %s (%d:%d)\n", i, sd->status.name, sd->status.account_id, sd->status.char_id); return; } - c = pc_class2idx(c); + c = pc_class2idx(c); do { flag=0; for(i=0;i < MAX_SKILL_TREE && (id=skill_tree[c][i].id)>0;i++){ |