fixed: The wait console command waited one tic too many because it got 1 added to it twice instead of only once.

This commit is contained in:
Christoph Oelckers 2014-08-25 10:51:50 +02:00
parent 51d7340288
commit 1d2aa3df0c

View file

@ -723,7 +723,7 @@ void AddCommandString (char *cmd, int keynum)
// Note that deferred commands lose track of which key
// (if any) they were pressed from.
*brkpt = ';';
new DWaitingCommand (brkpt, tics+1);
new DWaitingCommand (brkpt, tics);
}
return;
}