---
src/game/game.cpp | 2 --
src/include/action_handler.cpp | 4 ----
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 065b129..480a5da 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -651,8 +651,6 @@ void Game::SetState(game_loop_state_t new_state, bool
begin_game) const
MSG_DEBUG("game", "Ask for state %d", new_state);
Action *a = new Action(Action::ACTION_GAMELOOP_SET_STATE);
- int seed = RandomSync().GetRand();
- a->Push(seed);
a->Push(new_state);
ActionHandler::GetInstance()->NewAction(a);
}
diff --git a/src/include/action_handler.cpp b/src/include/action_handler.cpp
index 9e8ed53..b802d5b 100644
--- a/src/include/action_handler.cpp
+++ b/src/include/action_handler.cpp
@@ -334,10 +334,6 @@ static void Action_DropBonusBox (Action */*a*/)
static void Action_Game_SetState (Action *a)
{
- // to re-synchronize random number generator
- uint seed = a->PopInt();
- RandomSync().SetRand(seed);
-
Game::game_loop_state_t state = Game::game_loop_state_t(a->PopInt());
Game::GetInstance()->Really_SetState(state);
}
--
1.6.0.4
_______________________________________________
Wormux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-dev