Fixed a codacy issue
This commit is contained in:
parent
a7d5aa90e1
commit
1714c5d732
|
@ -1,2 +1,3 @@
|
|||
/build/
|
||||
/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
|
||||
================================
|
||||
|
||||
|
|
|
@ -94,11 +94,10 @@ void run()
|
|||
{
|
||||
SDL_Event event;
|
||||
bool quit = false;
|
||||
int ticks;
|
||||
|
||||
while (!quit)
|
||||
{
|
||||
ticks = SDL_GetTicks();
|
||||
int ticks = SDL_GetTicks();
|
||||
|
||||
while (SDL_PollEvent(&event) != 0) {
|
||||
if (event.type == SDL_QUIT)
|
||||
|
|
Loading…
Reference in New Issue