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 3600ffa commit 3371008
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/LegendaryKingdoms.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Legendary Kingdoms
Comment=Legendary Kingdoms
Version=1.0.6
Version=1.0.7
TryExec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Exec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Icon=/usr/local/games/LegendaryKingdoms/icons/legendary-kingdoms-red-128.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: legendary-kingdoms
Version: 1.0.6
Version: 1.0.7
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: amd64
Description: Legendary Kingdoms (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/armhf/raspbian/LegendaryKingdoms.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Legendary Kingdoms
Comment=Legendary Kingdoms
Version=1.0.6
Version=1.0.7
TryExec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Exec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Icon=/usr/local/games/LegendaryKingdoms/icons/legendary-kingdoms-red-128.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: legendary-kingdoms
Version: 1.0.6
Version: 1.0.7
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: armhf
Description: Legendary Kingdoms (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/i386/debian/LegendaryKingdoms.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Legendary Kingdoms
Comment=Legendary Kingdoms
Version=1.0.6
Version=1.0.7
TryExec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Exec=/usr/local/games/LegendaryKingdoms/LegendaryKingdoms.exe
Icon=/usr/local/games/LegendaryKingdoms/icons/legendary-kingdoms-red-128.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: legendary-kingdoms
Version: 1.0.6
Version: 1.0.7
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: i386
Description: Legendary Kingdoms (SDL)
Expand Down
4 changes: 2 additions & 2 deletions src/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace Input

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

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

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

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

0 comments on commit 3371008

Please sign in to comment.