TODO/FIXME- document some tasks that need to be looked at later

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@541 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-02-18 01:56:22 +00:00
parent 0255ae0744
commit 082d752c21
2 changed files with 12 additions and 0 deletions

View file

@ -64,6 +64,10 @@ class TrafficGen
int z = engine.trfDensity[mapY/2][mapX/2];
z += 50;
//FIXME- why is this only capped to 240
// by random chance. why is there no cap
// the rest of the time?
if (z > 240 && engine.PRNG.nextInt(6) == 0)
{
z = 240;