[0.24] [BUG/Interface] Govern City screen shows huge turn count

This happened when building a city on the first turn, and before advancing the turn, click the Govern City screen. Seems like an integer overflow to me :)

Or a division by zero gives a MAX_INT, not sure :P

20,488 views 3 replies
Reply #1 Top

It's due to the 0 citizens/turn I think. The number should be replaced by "never".

Reply #2 Top

Maybe someone set the value to -1 as a placeholder for "never" and later changed the variable from signed to unsigned int.

Reply #3 Top

It's due to the 0 citizens/turn I think.
  Yup...easy fix  :)