HoangHuyNguyen / pixelcity

Automatically exported from code.google.com/p/pixelcity
0 stars 0 forks source link

Always generates the same city. #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the current version.
2. Run it, watching the named buildings for a bit.
3. Hit the regenerate button or run it again, watching the same buildings.

What is the expected output? What do you see instead?
It generates the same city every time, probably as a result of World.cpp
initializing the random number generator to a constant.
I expect to see different cities each time it generates.

What version of the product are you using? On what operating system?
1.0.011 on some version Windows XP.

Please provide any additional information below.

Original issue reported on code.google.com by michael....@gmail.com on 17 May 2009 at 6:31