All pastes #293094 Raw Edit

Unnamed

public text v1 · immutable
#293094 ·published 2006-12-27 05:05 UTC
rendered paste body
	public void InvoFix(Player player){
		int TempInvo[][] = new int [30][3]
		int slot = 0;
		for(int i = 0; i < 30; i++){
			if(Inventory[i][0] != 0){
				TempInvo[slot][0] = player.Inventory[i][0];
				TempInvo[slot][1] = player.Inventory[i][1];
				slot++;
			}
		}
		for(int x = 0; x < 30; i++){
			if(slot != 0){
				player.Inventory[x][0] = TempInvo[x][0];
				player.Inventory[x][1] = TempInvo[x][1];
				slot--;
			}
		}
	}