mulander / evolutionchamber

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

Resources can receive invalid values #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In EcState class minerals, gas and supply variables declared as double. Double 
is a floating point variable while resources are always integers. It can lead 
to a funny results like having 25.87 supply available.

In addition calculation on integer numbers should be faster.

Original issue reported on code.google.com by sergey...@gmail.com on 27 Oct 2010 at 7:52

GoogleCodeExporter commented 9 years ago

Original comment by AudioL...@gmail.com on 30 Oct 2010 at 4:46