diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-24 17:38:57 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-24 17:38:57 +0100 |
| commit | 4b21ad49946bef562d388bd2d6185c3f98f9e87c (patch) | |
| tree | 66e4353e8241fbc188a5ac99e70619ed08af549a /src/main.cpp | |
| parent | 841a679e999bde905de5b7e994707d3c112f5375 (diff) | |
moved inGame declaration to header file
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f25a00a..762be04 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,7 @@ using namespace std; int main(){ int choice; - while(inGame == false){ + while(!inGame){ cout << "Welcome to minesweeper 0.1.0\n"; cout << "\n"; cout << "Select difficulty:\n" |
