Get first Quest when you should

This commit is contained in:
Eric Fredricksen
2010-07-06 12:53:06 -07:00
parent 0371163532
commit eb4d3e721b
+3 -7
View File
@@ -2,8 +2,6 @@
// TODO: Test use of seed as DNA // TODO: Test use of seed as DNA
// TODO: Layout newguy and main better // TODO: Layout newguy and main better
// TODO: fix Prologue plot bar
// TODO: get first quest
// revs: // revs:
// 6: pq 6.3/web // 6: pq 6.3/web
@@ -942,15 +940,13 @@ function Timer1Timer() {
} }
// advance quest // advance quest
if (gain) { if (gain && game.act >= 1) {
if (Plots.length() > 1) { if (QuestBar.done() || !Quests.length()) {
if (QuestBar.done()) {
CompleteQuest(); CompleteQuest();
} else if (Quests.length() > 0) { } else {
QuestBar.increment(TaskBar.Max / 1000); QuestBar.increment(TaskBar.Max / 1000);
} }
} }
}
// advance plot // advance plot
if (gain || !game.act) { if (gain || !game.act) {