Permalink
Browse files

Factories are no longer becoming more powerful with each save/load cy…

…cle. Fixes part of ticket:3732
  • Loading branch information...
perim committed Nov 3, 2012
1 parent 64a3ec2 commit 13b07b78dd85da1889843164d390ccb9d0a8f62b
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/game.cpp
View
@@ -4808,7 +4808,6 @@ static bool loadSaveStructure2(const char *pFileName, STRUCTURE **ppList)
psFactory->buildPointsRemaining = ini.value("Factory/buildPointsRemaining", psFactory->buildPointsRemaining).toInt();
psFactory->timeStartHold = ini.value("Factory/timeStartHold", psFactory->timeStartHold).toInt();
psFactory->loopsPerformed = ini.value("Factory/loopsPerformed", psFactory->loopsPerformed).toInt();
- psFactory->productionOutput = ini.value("Factory/productionOutput", psFactory->productionOutput).toInt();
// statusPending and pendingCount belong to the GUI, not the game state.
psFactory->secondaryOrder = ini.value("Factory/secondaryOrder", psFactory->secondaryOrder).toInt();
//adjust the module structures IMD
@@ -5084,7 +5083,6 @@ bool writeStructFile(const char *pFileName)
ini.setValue("Factory/buildPointsRemaining", psFactory->buildPointsRemaining);
ini.setValue("Factory/timeStartHold", psFactory->timeStartHold);
ini.setValue("Factory/loopsPerformed", psFactory->loopsPerformed);
- ini.setValue("Factory/productionOutput", psFactory->productionOutput);
// statusPending and pendingCount belong to the GUI, not the game state.
ini.setValue("Factory/secondaryOrder", psFactory->secondaryOrder);

0 comments on commit 13b07b7

Please sign in to comment.