1
0
Эх сурвалжийг харах

[fixed] small bugs taken from JoeDoe's merge request

Kevin_Smarts 2 жил өмнө
parent
commit
6c468c51ba

+ 1 - 1
locations/clothing.qsrc

@@ -1885,7 +1885,7 @@ if $ARGS[0] = 'wear':
 
 	if PCloPanties = 1: PXCloBottomShortness = 400
 
-	if $clothingworntype = 'danilovich_swimsuit' or $clothingworntype = 'scandalicious_swimsuit' or $clothingworntype = 'scandalicious_bikinis' or $clothingworntype = 'allure_swimsuit' or $clothingworntype = 'allure_bikinis' or $clothingworntype = 'nerdvana_swimsuit' or $clothingworntype = 'nerdvana_bikinis' : PCloswimwear = 1
+	if $clothingworntype = 'danilovich_swimsuit' or $clothingworntype = 'scandalicious_swimsuit' or $clothingworntype = 'scandalicious_bikinis' or $clothingworntype = 'allure_swimsuit' or $clothingworntype = 'allure_bikinis' or $clothingworntype = 'nerdvana_swimsuit' or $clothingworntype = 'nerdvana_bikinis': PCloswimwear = 1
 end
 
 if $ARGS[0] = 'wear_last_worn':

+ 1 - 1
locations/shoes.qsrc

@@ -319,7 +319,7 @@ if $ARGS[0] = 'wear':
 
 	gs 'shoe_attributes', $ARGS[1], ARGS[2]
 
-	dynamic '<<$ARGS[1]>>S[<<ARGS[2]>>] = 0'
+	dynamic '<<$ARGS[1]>>_shoe_s[<<ARGS[2]>>] = 0'
 
 	PShoQuality = ShoQuality
 	PShoHeels = ShoHeels

+ 6 - 6
locations/wardrobe.qsrc

@@ -205,7 +205,7 @@ $default_sports_line = {
 
 	$RESULT = '<TR bgcolor='+$bgcolor+'>'
 
-	$RESULT +='<TD><b><<$sports_clothing_name[default_entry]>></b></TD>'
+	$RESULT +='<TD><b><<$sports_clothing_name>></b></TD>'
 	
 	if sportsclothingnumber[default_entry] = 0:
 		$RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
@@ -741,11 +741,11 @@ if $ARGS[0] = 'sports_entry_set':
 		sportscoatnumber[i] = coatwornnumber
 
 		$sports_clothing_temp = '<<$sports_clothing_name>>'
-		$sports_clothing_name[i] = input ('<center>Enter a name for this outfit set<br><font color="grey">Leaving blank will reuse current name.</font></center>')
-		if $sports_clothing_name[i] = '' and $sports_clothing_temp = '':
-			$sports_clothing_name[i] = 'default sports outfit'
-		elseif $sports_clothing_name[i] = '':
-			$sports_clothing_name[i] = '<<$sports_clothing_temp>>'
+		$sports_clothing_name = input ('<center>Enter a name for this outfit set<br><font color="grey">Leaving blank will reuse current name.</font></center>')
+		if $sports_clothing_name = '' and $sports_clothing_temp = '':
+			$sports_clothing_name = 'default sports outfit'
+		elseif $sports_clothing_name = '':
+			$sports_clothing_name = '<<$sports_clothing_temp>>'
 		end
 		gt 'wardrobe', $wloc
 	end