diff --git a/Main.oz b/Main.oz index 9adfaceb076b376b428c343922297b18b5ca8c4c..5e7724277ebf8e8ac67e8dabe04efb5dcfbf562a 100644 --- a/Main.oz +++ b/Main.oz @@ -17,7 +17,7 @@ define of nil#nil then nil [] (Player|OtherPlayers)#(Color|OtherColors) then player( - port:{PlayerManager.playerGenerator Player Color AccID} + port:{PlayerManager.playerGenerator Player Color id(id:AccID color:Color name:Player)} nbSurface: 0 %% All the players start underwater )|{InitPlayers OtherPlayers OtherColors AccID+1} end diff --git a/Player020Hunter.oz b/Player020Hunter.oz index 5df8fd2179516d421c121e95eeb5c7c855dad35c..39e584a066c8ba66f06f6d9d039cf25d170c9d73 100644 --- a/Player020Hunter.oz +++ b/Player020Hunter.oz @@ -417,7 +417,7 @@ define in {NewPort Stream Port} thread - {AliveTreatStream Stream '#'( id:id(id:ID color:Color name:name) + {AliveTreatStream Stream '#'( id:ID life:Input.maxDamage pos:pt(x:0 y:0) chargingItems:{InitChargingItemsMissile Input.nbPlayer nil} diff --git a/Player020Random.oz b/Player020Random.oz index b471aeb89b2767b5656d8771f2cbaf2f41fba442..3b32e0a0657eedeede59fc51792b0de1c30530ea 100644 --- a/Player020Random.oz +++ b/Player020Random.oz @@ -350,7 +350,7 @@ define in {NewPort Stream Port} thread - {AliveTreatStream Stream '#'( id:id(id:ID color:Color name:name) + {AliveTreatStream Stream '#'( id:ID life:Input.maxDamage pos:pt(x:0 y:0) chargingItems:[ {GetNewChargeFireItem mine} {GetNewChargeFireItem missile}