diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/include/functions.php b/include/functions.php index 382b148..31f9ba8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -367,17 +367,17 @@ function create_array_of_random_numbers($useridA,$useridB,$useridC,$useridD) if($debug) { $r[ 0]=1; $r[12]=47; $r[24]=13; $r[36]=37; - $r[ 1]=2; $r[13]=48; $r[25]=14; $r[37]=38; + $r[ 1]=2; $r[13]=23; $r[25]=14; $r[37]=38; $r[ 2]=3; $r[14]=27; $r[26]=15; $r[38]=39; $r[ 3]=4; $r[15]=16; $r[27]=28; $r[39]=40; $r[ 4]=5; $r[16]=17; $r[28]=29; $r[40]=41; $r[ 5]=18; $r[17]=6; $r[29]=30; $r[41]=42; - $r[ 6]=19; $r[18]=7; $r[30]=31; $r[42]=43; - $r[ 7]=20; $r[19]=8; $r[31]=32; $r[43]=44; - $r[ 8]=45; $r[20]=9; $r[32]=21; $r[44]=33; - $r[ 9]=46; $r[21]=10; $r[33]=22; $r[45]=34; - $r[10]=35; $r[22]=11; $r[34]=23; $r[46]=25; - $r[11]=36; $r[23]=12; $r[35]=24; $r[47]=26; + $r[ 6]=21; $r[18]=7; $r[30]=31; $r[42]=43; + $r[ 7]=22; $r[19]=8; $r[31]=32; $r[43]=44; + $r[ 8]=45; $r[20]=9; $r[32]=19; $r[44]=33; + $r[ 9]=46; $r[21]=10; $r[33]=20; $r[45]=24; + $r[10]=35; $r[22]=11; $r[34]=48; $r[46]=25; + $r[11]=36; $r[23]=12; $r[35]=34; $r[47]=26; } else { @@ -703,6 +703,10 @@ function display_table () echo " <a href=\"".$INDEX."?action=game&me=".$hash."\">$name</a>\n"; /* add hints for poverty, wedding, solo, etc */ + if( $gametype != "solo") + if($GAME["schweinchen"] && $RULES["schweinchen"]=="both" && $GAME["schweinchen-who"]==$hash) + echo " Schweinchen. <br />"; + if($GT=="poverty" && $party=="re") if($sickness=="poverty") { |