equal
deleted
inserted
replaced
432 hhs[i] = nil |
432 hhs[i] = nil |
433 end |
433 end |
434 end |
434 end |
435 end |
435 end |
436 |
436 |
437 function onHogHide(gear) |
|
438 InABetterPlaceNow(gear) |
|
439 end |
|
440 |
|
441 function onHogRestore(gear) |
|
442 match = false |
|
443 for i = 0, (numhhs-1) do |
|
444 if (hhs[i] == nil) and (match == false) then |
|
445 hhs[i] = gear |
|
446 match = true |
|
447 end |
|
448 end |
|
449 end |
|
450 |
|
451 |
|
452 function onGearAdd(gear) |
437 function onGearAdd(gear) |
453 |
438 |
454 if GetGearType(gear) == gtHedgehog then |
439 if GetGearType(gear) == gtHedgehog then |
455 hhs[numhhs] = gear |
440 hhs[numhhs] = gear |
456 numhhs = numhhs + 1 |
441 numhhs = numhhs + 1 |