summaryrefslogtreecommitdiff
path: root/src/map/quest.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-25 21:26:54 +0200
committerHaru <haru@dotalux.com>2013-09-25 22:15:53 +0200
commitafcad494411995396b906f214d1c4ffcf485cc0a (patch)
treee70b21658276ddef885322b7c9b18935b6c0235e /src/map/quest.c
parent13afb7e0bf35bacc9c90c7dffe34120ddd2fd099 (diff)
downloadhercules-afcad494411995396b906f214d1c4ffcf485cc0a.tar.gz
hercules-afcad494411995396b906f214d1c4ffcf485cc0a.tar.bz2
hercules-afcad494411995396b906f214d1c4ffcf485cc0a.tar.xz
hercules-afcad494411995396b906f214d1c4ffcf485cc0a.zip
Renamed local variables that would conflict with a rename of iStatus to status
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/quest.c')
-rw-r--r--src/map/quest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/quest.c b/src/map/quest.c
index 881037081..40030560a 100644
--- a/src/map/quest.c
+++ b/src/map/quest.c
@@ -226,7 +226,7 @@ void quest_update_objective(TBL_PC * sd, int mob_id) {
}
}
-int quest_update_status(TBL_PC * sd, int quest_id, quest_state status) {
+int quest_update_status(TBL_PC * sd, int quest_id, quest_state qs) {
int i;
//Only status of active and inactive quests can be updated. Completed quests can't (for now). [Inkfish]
@@ -236,11 +236,11 @@ int quest_update_status(TBL_PC * sd, int quest_id, quest_state status) {
return -1;
}
- sd->quest_log[i].state = status;
+ sd->quest_log[i].state = qs;
sd->save_quest = true;
- if( status < Q_COMPLETE ) {
- clif->quest_update_status(sd, quest_id, (bool)status);
+ if( qs < Q_COMPLETE ) {
+ clif->quest_update_status(sd, quest_id, (bool)qs);
return 0;
}