diff options
author | Fate <fate-tmw@googlemail.com> | 2009-09-26 18:08:42 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-09-26 18:08:42 +0000 |
commit | 3ef2cb492970da40f82df9643c4cfc570bc3aa62 (patch) | |
tree | 16e071b00b764db07d60f7872756bf79c6044dfe /src/map/map.c | |
parent | f9f63203fb461e69a9a422d160986daa78eecc51 (diff) | |
download | tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.gz tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.bz2 tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.xz tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.zip |
Initial support for skill pools (available via at commands and
untested scripting commands.) These changes also affect the format
of the skill_db.txt file.
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/map/map.c b/src/map/map.c index abb750f..f5d6d33 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -965,8 +965,6 @@ void map_addnickdb(struct map_session_data *sd) { *------------------------------------------ */ int map_quit(struct map_session_data *sd) { - int i; - nullpo_retr(0, sd); if(sd->chatID) // チャットから出る @@ -1012,13 +1010,6 @@ int map_quit(struct map_session_data *sd) { pc_setrestartvalue(sd,2); pc_makesavestatus(sd); //クローンスキルで覚えたスキルは消す - for(i=0;i<MAX_SKILL;i++){ - if(sd->status.skill[i].flag == 13){ - sd->status.skill[i].id=0; - sd->status.skill[i].lv=0; - sd->status.skill[i].flag=0; - } - } //The storage closing routines will save the char if needed. [Skotlex] if (!sd->state.storage_flag) @@ -1704,7 +1695,7 @@ map_set_logfile(char *filename) map_start_logfile(tv.tv_sec); atexit(map_close_logfile); - MAP_LOG("log-start v2"); + MAP_LOG("log-start v3"); } |