no harm in copying field when feature not available; may help newer

version to open file.
This commit is contained in:
ehouse 2006-03-04 16:07:21 +00:00
parent b0e5668093
commit 6866e09003

View file

@ -329,9 +329,7 @@ gi_copy( MPFORMAL CurGameInfo* destGI, CurGameInfo* srcGI )
destGI->timerEnabled = srcGI->timerEnabled;
destGI->robotSmartness = (XP_U8)srcGI->robotSmartness;
destGI->phoniesAction = srcGI->phoniesAction;
#ifdef FEATURE_TRAY_EDIT
destGI->allowPickTiles = srcGI->allowPickTiles;
#endif
for ( srcPl = srcGI->players, destPl = destGI->players, i = 0;
i < nPlayers; ++srcPl, ++destPl, ++i ) {