Make quest pre-conditions work correctly with ranges of stages

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13236 282e977c-c81d-0410-88c4-b93c2d0d6712
master
cavesomething 2010-05-15 21:39:30 +00:00
parent 4b45fe5b30
commit ce3cf322eb
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ if stage.find("-") == -1:
startstep = int(stage)
endstep = -1
else:
startstep = int(condition.split("-")[0])
endstep= int(condition.split("-")[1])
startstep = int(stage.split("-")[0])
endstep= int(stage.split("-")[1])
currentstep = character.QuestGetState(questname)
if currentstep < startstep: