tetris: eliminate compiler warning

pull/423/head
nick black 5 years ago
parent 2b7b384e91
commit 84ef40143e
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -302,7 +302,7 @@ int main(void) {
Tetris t{nc, gameover};
std::thread tid(&Tetris::Ticker, &t);
ncpp::Plane* stdplane = nc.get_stdplane();
char32_t input;
char32_t input = 0;
ncinput ni;
while(!gameover && (input = nc.getc(true, &ni)) != (char32_t)-1){
if(input == 'q'){

Loading…
Cancel
Save