Fixed a codacy issue
This commit is contained in:
parent
a7d5aa90e1
commit
1714c5d732
|
@ -1,2 +1,3 @@
|
||||||
/build/
|
/build/
|
||||||
/tags
|
/tags
|
||||||
|
*.swp
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02d56fa7194e61b2c7d260fd2e4186)](https://www.codacy.com/app/LiquidityC/breakhack?utm_source=github.com&utm_medium=referral&utm_content=LiquidityC/breakhack&utm_campaign=Badge_Grade)
|
||||||
|
|
||||||
Something in the ways of NETHACK
|
Something in the ways of NETHACK
|
||||||
================================
|
================================
|
||||||
|
|
||||||
|
|
|
@ -94,11 +94,10 @@ void run()
|
||||||
{
|
{
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
bool quit = false;
|
bool quit = false;
|
||||||
int ticks;
|
|
||||||
|
|
||||||
while (!quit)
|
while (!quit)
|
||||||
{
|
{
|
||||||
ticks = SDL_GetTicks();
|
int ticks = SDL_GetTicks();
|
||||||
|
|
||||||
while (SDL_PollEvent(&event) != 0) {
|
while (SDL_PollEvent(&event) != 0) {
|
||||||
if (event.type == SDL_QUIT)
|
if (event.type == SDL_QUIT)
|
||||||
|
|
Loading…
Reference in New Issue