don't render when paused
This commit is contained in:
parent
d71f5e2a2e
commit
80a10a157e
@ -86,6 +86,9 @@ void startGame(Board &board)
|
|||||||
displayChar = 'X';
|
displayChar = 'X';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isPaused)
|
||||||
|
displayChar = '#';
|
||||||
|
|
||||||
if (x == cursorX && y == cursorY)
|
if (x == cursorX && y == cursorY)
|
||||||
{
|
{
|
||||||
attron(A_REVERSE);
|
attron(A_REVERSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user