Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #761219

Fixed gameseed ignored for second and subsequent games of persistent server

Added by Jacob Nevins over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

  1. Start server
  2. /set gameseed 1234
  3. Start game
  4. End game but keep server running
  5. /set gameseed 1234
  6. Start another game

You'd expect the map to come out the same both times, but it doesn't.

This is because init_game_seed() only affects the random state if rand_state.is_init is FALSE, and once that becomes TRUE there's no way for it to become FALSE again (not even a new game), I think.

Also available in: Atom PDF