'if (quit) return;' in playScene()
This commit is contained in:
parent
1c0b1250bb
commit
19968d19bf
1 changed files with 1 additions and 0 deletions
1
Scene.c
1
Scene.c
|
@ -125,6 +125,7 @@ void playScene(Scene* self)
|
|||
|
||||
for (i = 0; i < self->time; i++)
|
||||
{
|
||||
if (quit) return;
|
||||
timeStart(fps);
|
||||
sceneInput(self, &i);
|
||||
for (j = 0; j < self->nSprites; j++)
|
||||
|
|
Loading…
Reference in a new issue