|
@@ -199,8 +199,8 @@ class Info_Gates extends Object_ext {
|
|
|
$maxIndex = 0;
|
|
|
$maxGateId = 0;
|
|
|
foreach ($this->GateList as $gateId => $Ins_GateInfo) {
|
|
|
- if ($Ins_GateInfo->pass > 0 && $Ins_GateInfo->GateMapTypeFromId($gateId) > $maxIndex) {
|
|
|
- $maxIndex = $Ins_GateInfo->GateMapTypeFromId($gateId);
|
|
|
+ if ($Ins_GateInfo->pass > 0 && Ins_GateInfo::GateMapTypeFromId($gateId) > $maxIndex) {
|
|
|
+ $maxIndex = Ins_GateInfo::GateMapTypeFromId($gateId);
|
|
|
$maxGateId = $gateId;
|
|
|
}
|
|
|
}
|