Skip to content

Commit

Permalink
Fix for Input Event
Browse files Browse the repository at this point in the history
  • Loading branch information
daelsepara committed Aug 15, 2024
1 parent 057af55 commit 567f9ef
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/amd64/debian/OnceUponATimeInArabia.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Once Upon A Time in Arabia
Comment=Once Upon A Time in Arabia
Version=1.0.2
Version=1.0.3
TryExec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Exec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Icon=/usr/local/games/OnceUponATimeInArabia/icons/lamp.png
Expand Down
2 changes: 1 addition & 1 deletion build/amd64/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: twist-of-fate
Version: 1.0.2
Version: 1.0.3
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: amd64
Description: Once Upon a Time in Arabia / Twist of Fate (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/armhf/raspbian/OnceUponATimeInArabia.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Once Upon A Time in Arabia
Comment=Once Upon A Time in Arabia
Version=1.0.2
Version=1.0.3
TryExec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Exec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Icon=/usr/local/games/OnceUponATimeInArabia/icons/lamp.png
Expand Down
2 changes: 1 addition & 1 deletion build/armhf/raspbian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: twist-of-fate
Version: 1.0.2
Version: 1.0.3
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: armhf
Description: Once Upon a Time in Arabia / Twist of Fate (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/i386/debian/OnceUponATimeInArabia.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Once Upon A Time in Arabia
Comment=Once Upon A Time in Arabia
Version=1.0.2
Version=1.0.3
TryExec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Exec=/usr/local/games/OnceUponATimeInArabia/OnceUponATimeInArabia.exe
Icon=/usr/local/games/OnceUponATimeInArabia/icons/lamp.png
Expand Down
2 changes: 1 addition & 1 deletion build/i386/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: twist-of-fate
Version: 1.0.2
Version: 1.0.3
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: i386
Description: Once Upon a Time in Arabia / Twist of Fate (SDL)
Expand Down
4 changes: 2 additions & 2 deletions src/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace Input

while (1)
{
SDL_PollEvent(&result);
SDL_WaitEvent(&result);

if (result.type == SDL_QUIT)
{
Expand Down Expand Up @@ -341,7 +341,7 @@ namespace Input

while (1)
{
SDL_PollEvent(&result);
SDL_WaitEvent(&result);

if (result.type == SDL_QUIT)
{
Expand Down

0 comments on commit 567f9ef

Please sign in to comment.