summaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-09-17 19:32:56 -0700
committerArun Persaud <arun@nubati.net>2012-09-17 19:32:56 -0700
commit47dfbefde06fe77c98ca71d84a71583cdbe43c3f (patch)
tree237b3bff3cad012e3516f85b755e793809d74fb3 /include/functions.php
parent4b3c8ef2a16c0892d6f4836e837a95e2e7702368 (diff)
downloade-DoKo-47dfbefde06fe77c98ca71d84a71583cdbe43c3f.tar.gz
e-DoKo-47dfbefde06fe77c98ca71d84a71583cdbe43c3f.tar.bz2
e-DoKo-47dfbefde06fe77c98ca71d84a71583cdbe43c3f.zip
fixed typo and added a comment
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 897b20e..6873cbf 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -566,6 +566,9 @@ function create_array_of_random_numbers($useridA,$useridB,$useridC,$useridD)
if($debug)
{
+ /* fix the hands; makes debugging easier; the following hands have lots of sicknesses,
+ * to make testing easier
+ */
$r[ 0]=1; $r[12]=47; $r[24]=13; $r[36]=37;
$r[ 1]=2; $r[13]=23; $r[25]=14; $r[37]=38;
$r[ 2]=3; $r[14]=27; $r[26]=15; $r[38]=39;
@@ -582,7 +585,7 @@ function create_array_of_random_numbers($useridA,$useridB,$useridC,$useridD)
else
{
/* check if we can find a game were non of the player was involved and return
- * cards insted
+ * cards instead
*/
$userstr = "'".implode("','",array($useridA,$useridB,$useridC,$useridD))."'";
$randomnumbers = DB_get_unused_randomnumbers($userstr);