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: Layout newguy and main better
// TODO: fix Prologue plot bar
// TODO: get first quest
// revs:
// 6: pq 6.3/web
@@ -942,15 +940,13 @@ function Timer1Timer() {
}
// advance quest
if (gain) {
if (Plots.length() > 1) {
if (QuestBar.done()) {
if (gain && game.act >= 1) {
if (QuestBar.done() || !Quests.length()) {
CompleteQuest();
} else if (Quests.length() > 0) {
} else {
QuestBar.increment(TaskBar.Max / 1000);
}
}
}
// advance plot
if (gain || !game.act) {