summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f63864b)
Switching to EditGame mode would normally erase the tags, but when analyzing
a loaded game this would be undesirable. When the engine is playing, keeping
the tags is dubious, but it is not obvious what to put in a new name tag,
so we leave that for now.
ReplaceEngine (ChessProgramState *cps, int n)
{
oldMode = gameMode; // remember mode, so it can be restored after loading sequence is complete
ReplaceEngine (ChessProgramState *cps, int n)
{
oldMode = gameMode; // remember mode, so it can be restored after loading sequence is complete
if(oldMode != BeginningOfGame) EditGameEvent();
if(oldMode != BeginningOfGame) EditGameEvent();
UnloadEngine(cps);
appData.noChessProgram = FALSE;
appData.clockMode = TRUE;
UnloadEngine(cps);
appData.noChessProgram = FALSE;
appData.clockMode = TRUE;