Fix compilation of Particles demo

This commit is contained in:
Lynix 2017-11-19 20:14:41 +01:00
parent 4fc076325c
commit 220e985144
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ int main()
switch (event.key.code) switch (event.key.code)
{ {
case Nz::Keyboard::Backspace: case Nz::Keyboard::Backspace:
stateMachine.ChangeState(stateMachine.GetCurrentState()); stateMachine.ChangeState(shared.demos[demoIndex]);
break; break;
case Nz::Keyboard::Escape: case Nz::Keyboard::Escape: