.

It's in CvTechChooser.py:
Code:
# Promotion Info
for j in range( gc.getNumPromotionInfos() ):
	if ( gc.getPromotionInfo(j).getTechPrereq() == i ):
		szPromotionButton = "Promotion" + str([B]i[/B])
		screen.addDDSGFCAt( szPromotionButton, "TechList", gc.getPromotionInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, j, -1, False )
		fX += X_INCREMENT
should read
Code:
# Promotion Info
for j in range( gc.getNumPromotionInfos() ):
	if ( gc.getPromotionInfo(j).getTechPrereq() == i ):
		szPromotionButton = "Promotion" + str([B]j[/B])
		screen.addDDSGFCAt( szPromotionButton, "TechList", gc.getPromotionInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, j, -1, False )
		fX += X_INCREMENT
Basically, what was happening is that the new promotion picture was given the same name as the old promotion picture (a name based on the tech, rather than the promotion), and hence the old was was overwritten.

Another silly little bug squashed.
 
Back
Top Bottom