From d2814294c5ce172c1897e0c0601f07a60df7ee49 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 23 Sep 2013 20:29:59 +0200 Subject: * lh_10 -> lh_pod --- bin/lib/OsikaEvaluator.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/lib/OsikaEvaluator.php b/bin/lib/OsikaEvaluator.php index a53ff7f..c20816f 100644 --- a/bin/lib/OsikaEvaluator.php +++ b/bin/lib/OsikaEvaluator.php @@ -190,10 +190,10 @@ class OsikaEvaluator { if (strlen($index) === 1) { if ($distribution[$index] >= 3) { if (isset($strength[$distribution[$index]])) { - $strength[$distribution[$index]] += ($result['lh'][$index]+$result['lh_plus'][$index]+$result['lh_10'][$index]+$result['lh_short'][$index]); + $strength[$distribution[$index]] += ($result['lh'][$index]+$result['lh_plus'][$index]+$result['lh_pod'][$index]+$result['lh_short'][$index]); } else { - $strength[$distribution[$index]] = ($result['lh'][$index]+$result['lh_plus'][$index]+$result['lh_10'][$index]+$result['lh_short'][$index]); + $strength[$distribution[$index]] = ($result['lh'][$index]+$result['lh_plus'][$index]+$result['lh_pod'][$index]+$result['lh_short'][$index]); } if (isset($length[$distribution[$index]])) { $length[$distribution[$index]] += $distribution[$index]; @@ -234,7 +234,7 @@ class OsikaEvaluator { $result = array(); $result['lh'] = array(); $result['lh_plus'] = array(); - $result['lh_10'] = array(); + $result['lh_pod'] = array(); $result['lh_short'] = array(); $result['lu'] = array(); foreach ($this->_hand as $ind => $suit) { @@ -247,7 +247,7 @@ class OsikaEvaluator { } $result['lh']['total'] = array_sum($result['lh']); $result['lh_plus']['total'] = array_sum($result['lh_plus']); - $result['lh_pod']['total'] = array_sum($result['lh_10']); + $result['lh_pod']['total'] = array_sum($result['lh_pod']); $result['lh_short']['total'] = array_sum($result['lh_short']); $result['lu']['total'] = array_sum($result['lu']); -- cgit v1.2.3