X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=5267bfb4e42105c33005af56152707fb75e2cec8;hp=2e4c08392d051bf10a2e8c615dae162ec045c525;hb=27e1cfa401e4223550f8a8cc434ae0f4605bf775;hpb=981c12ce5d5aaf606584a4ab59054316d2b6c6c2
diff --git a/include/functions.php b/include/functions.php
index 2e4c083..5267bfb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1,5 +1,5 @@
\n".
" \n";
- while($r = mysql_fetch_array($result,MYSQL_NUM))
+ while($r = DB_fetch_array($result))
{
$name = $r[0];
$pos = $r[1];
@@ -703,6 +737,10 @@ function display_table ()
echo " $name\n";
/* add hints for poverty, wedding, solo, etc */
+ if( $gametype != "solo")
+ if( $RULES["schweinchen"]=="both" && $GAME["schweinchen-who"]==$hash )
+ echo " Schweinchen.
";
+
if($GT=="poverty" && $party=="re")
if($sickness=="poverty")
{
@@ -812,22 +850,24 @@ function display_user_menu()
echo "