X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=ea0ece7e01e113fe53c1ca9a45e636cba2ad5145;hb=eff45351602b11217d119a3a0251f6dbf930107b;hp=4b52d2601f2d3b1ee6d5ad4eed7eae8f6d0d72b1;hpb=3e0d91cb49933690505a7c04c624e76412e44a0e;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 4b52d26..ea0ece7 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1671,6 +1671,10 @@ SetTcType (int n) void TimeControlProc () { + if(gameMode != BeginningOfGame) { + DisplayError(_("Changing time control during a game is not implemented"), 0); + return; + } tmpMoves = appData.movesPerSession; tmpInc = appData.timeIncrement; if(tmpInc < 0) tmpInc = 0; tmpOdds1 = tmpOdds2 = 1; tcType = 0;