Browse Source

[fixes] errors picked up by the analyser

KevinSmarts 5 years ago
parent
commit
2f8781547d
3 changed files with 11 additions and 11 deletions
  1. 9 10
      locations/Miroslava.qsrc
  2. 1 0
      locations/saunawhore.qsrc
  3. 1 1
      locations/street_walker.qsrc

+ 9 - 10
locations/Miroslava.qsrc

@@ -533,16 +533,15 @@ if $ARGS[0] = 'Start' or $ARGS[0] = '':
 					*clr & cla
 					minut += 60
 					if npc_rel['A60'] < 20: npc_rel['A60'] += RAND(1,2)
-						gs 'stat'
-						'<center><img <<$set_imgh>> src="images/characters/village/mira/mira_tv'+rand(1,12)+'.jpg"></center>'
-						'You ask your grandparents if Mira can sleep over. They tell you it''s fine with them, so you invite Mira to sleep over.'
-						*nl
-						'You and Mira head over to the huge wardrobe where your clothes are and spend an hour trying on different clothes and underwear.'
-
-						act 'Mira and you raid the kitchen for a late night snack (0:15)': 'You and Mira head to the kitchen to make a quick snack' & gs 'food', 'snack'
-						act 'Go to sleep': 'You''re feeling tired. You and Mira head to your bed and crawl under the covers together and get into bed.' & gt 'bed2'
-						act 'Finish': mira_guest = 0 & gt $loc, $metka
-					end
+					gs 'stat'
+					'<center><img <<$set_imgh>> src="images/characters/village/mira/mira_tv'+rand(1,12)+'.jpg"></center>'
+					'You ask your grandparents if Mira can sleep over. They tell you it''s fine with them, so you invite Mira to sleep over.'
+					*nl
+					'You and Mira head over to the huge wardrobe where your clothes are and spend an hour trying on different clothes and underwear.'
+
+					act 'Mira and you raid the kitchen for a late night snack (0:15)': 'You and Mira head to the kitchen to make a quick snack' & gs 'food', 'snack'
+					act 'Go to sleep': 'You''re feeling tired. You and Mira head to your bed and crawl under the covers together and get into bed.' & gt 'bed2'
+					act 'Finish': mira_guest = 0 & gt $loc, $metka
 				end
 			end
 

+ 1 - 0
locations/saunawhore.qsrc

@@ -856,6 +856,7 @@ if $ARGS[0] = 'saunawork':
 			minut += 10
 			gs 'stat'
 			gt 'saunawhore', 'saunawork'
+		end
 		exit
 	end
 	if workDolg <= 0 and pcs_mood <= 50 and SaunaWhore > 0 and money >= 1000:

+ 1 - 1
locations/street_walker.qsrc

@@ -77,7 +77,7 @@ if $ARGS[0] = 'event1':
 			if prst_loc ! 1: streetworkevent = 5
 			if ruslan_day = daystart: streetworkevent = 5
 		end
-		if streetworkevent = <= 2:
+		if streetworkevent <= 2:
 			*clr & cla
 			minut += 15
 			city_prostitute += 1