Merged from revision: 2051

- Fixed resetting boxes fought (by anv)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2052 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2014-06-03 18:42:57 +00:00
parent a57a1d5d27
commit c76520133a
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -17,13 +17,13 @@ function HourlyQuestUpdate()
end
-- Bar/night club
if ( cHour > 15 or cHour < 2) then
if ( cHour >= 15 or cHour < 2) then
SetFactTrue( Facts.FACT_CLUB_OPEN )
SetFactFalse( Facts.FACT_PAST_CLUB_CLOSING_AND_PLAYER_WARNED )
-- Reset boxes fought
for i = 0,3 do
for i = 0,2 do
-- Set false
gfBoxerFought(i,false)
end
Binary file not shown.
+2 -2
View File
@@ -17,13 +17,13 @@ function HourlyQuestUpdate()
end
-- Bar/night club
if ( cHour > 15 or cHour < 2) then
if ( cHour >= 15 or cHour < 2) then
SetFactTrue( Facts.FACT_CLUB_OPEN )
SetFactFalse( Facts.FACT_PAST_CLUB_CLOSING_AND_PLAYER_WARNED )
-- Reset boxes fought
for i = 0,3 do
for i = 0,2 do
-- Set false
gfBoxerFought(i,false)
end