1
0
Преглед на файлове

[fixed] duplitcate loops causing crashes

KevinSmarts преди 3 години
родител
ревизия
39992fa7ff
променени са 2 файла, в които са добавени 0 реда и са изтрити 30 реда
  1. 0 24
      locations/portnoi.qsrc
  2. 0 6
      locations/portnoi2.qsrc

+ 0 - 24
locations/portnoi.qsrc

@@ -165,30 +165,6 @@ selltot = 0
 		i += 1
 	if i <= ARRSIZE('fancy_burlesque'):jump 'fancy_burlesquemet'
 
-	i = 1
-	:dolls_outfitsmet
-		if dolls_outfits[i] = 1 and dolls_outfits_s[i] = 2:dynamic($batch_sell, 'dolls_outfits', i)
-		i += 1
-	if i <= ARRSIZE('dolls_outfits'):jump 'dolls_outfitsmet'
-
-	i = 1
-	:dolls_dressmet
-		if dolls_dress[i] = 1 and dolls_dress_s[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
-		i += 1
-	if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
-
-	i = 1
-	:bomba_outfitsmet
-		if bomba_outfits[i] = 1 and bomba_outfits_s[i] = 2:dynamic($batch_sell, 'bomba_outfits', i)
-		i += 1
-	if i <= ARRSIZE('bomba_outfits'):jump 'bomba_outfitsmet'
-
-	i = 1
-	:bomba_dressmet
-		if bomba_dress[i] = 1 and bomba_dress_s[i] = 2:dynamic($batch_sell, 'bomba_dress', i)
-		i += 1
-	if i <= ARRSIZE('bomba_dress'):jump 'bomba_dressmet'
-
 killvar 'batch_sell'
 
 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'

+ 0 - 6
locations/portnoi2.qsrc

@@ -155,12 +155,6 @@ elseif money >= poshvalldrop:
 		i += 1
 	if i <= ARRSIZE('cats_dress'):jump 'xcats_dressmet'
 
-	i = 1
-	:xcats_dressmet
-		if cats_dress[i] = 1 and ((cats_dress_b[i] > pcs_hips + 8) or (cats_dress_b[i] < pcs_hips - 8)):cats_dress_b[i] = pcs_hips
-		i += 1
-	if i <= ARRSIZE('cats_dress'):jump 'xcats_dressmet'
-
 	i = 1
 	:xcats_outfitsmet
 		if cats_outfits[i] = 1 and ((cats_outfits_b[i] > pcs_hips + 8) or (cats_outfits_b[i] < pcs_hips - 8)):cats_outfits_b[i] = pcs_hips