Browse Source

refactoring:add return type to pause to prevent warning in console

main
fdai7184 2 years ago
parent
commit
fe2b1f22e5
  1. 2
      src/input.c

2
src/input.c

@ -102,7 +102,7 @@ char getTInput(char key){
/** pauses the game until p is pressed again
* no parameters, no returns
*/
pause(){
void pause(){
while(getch()!='p'){
sleep(0.10);
}

Loading…
Cancel
Save