v 159 - stuff in tech view is dark/greyed out

bladex

Emperor
Joined
Oct 29, 2010
Messages
1,358
i know the wonders that have been built are supposed to be greyed out but so is A LOT of other things even stuff you can build normally is this a bug?
 
sorry it took so long i just finished building my new computer and of course windows 7 wouldn't work at 1st so had to reinstall everything.

it doesn't start doing this till about 50 turns in. none of them wonders were built at the time (i built the great lh shortly after) does it on both fullscreen and windowed.

civerrors.png
 
All in B3 - suspicious.

Are you explicitly "un-greying" B1 thru B5 after the call to get an instance from the InstanceManager?

At a guess the IM is handing out a previous instance which was greyed out and if you're not explicitly "un-greying" them it will still be greyed out (been there, seen it, done it with the upgrade/promotion tree code)
 
Thanks for pointing that out whoward; it's most likely the problem.

Edit: Yep, that was it. I forgot an "else" clause to un-grey buttons that are available. I've fixed it for the post-expansion version.
 
Back
Top Bottom