---
 src/game/game.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/game/game.cpp b/src/game/game.cpp
index 4935674..64d7325 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -581,7 +581,8 @@ bool Game::NewBox()
   // Type of box : 1 = MedKit, 2 = Bonus Box.
   ObjBox * box;
   int type;
-  if(RandomLocal().GetBool()) {
+  MSG_DEBUG("random.get", "Game::NewBox(...) box type?");
+  if(RandomSync().GetBool()) {
     box = new Medkit();
     type = 1;
   } else {
-- 
1.6.0.4


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à