diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-15 13:49:40 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-15 13:49:40 +0000 |
commit | e6276c539a165616071dc46355a9579d4a7ae647 (patch) | |
tree | 7a988dcf949b0149d7b6c674bb2292333ae20e96 /src/map/quest.c | |
parent | bbadf310e83b4c8b3c683065f016892cf2b36a8a (diff) | |
download | hercules-e6276c539a165616071dc46355a9579d4a7ae647.tar.gz hercules-e6276c539a165616071dc46355a9579d4a7ae647.tar.bz2 hercules-e6276c539a165616071dc46355a9579d4a7ae647.tar.xz hercules-e6276c539a165616071dc46355a9579d4a7ae647.zip |
* Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
* Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
* Implemented a generic framework for parsing delimited db files (allows specifying min/max column ranges and max number of rows to read)
* Corrected a typo in quest_update_objective()
* Cleaned up pc.c a bit
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12599 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/quest.c')
-rw-r--r-- | src/map/quest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/quest.c b/src/map/quest.c index 51082532f..b822b67ca 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -172,7 +172,7 @@ int quest_update_objective(TBL_PC * sd, int quest_id, int objective_num, const c ARR_FIND(0, MAX_QUEST, i, sd->quest_log[i].quest_id == quest_id); //Quest not found - if(i != MAX_QUEST) + if(i == MAX_QUEST) return -1; memcpy(&sd->quest_log[i].objectives[objective_num].name, name, NAME_LENGTH); |