diff --git a/build/amd64/debian/LegendaryKingdoms.desktop b/build/amd64/debian/LegendaryKingdoms.desktop index 1864e3e..a758634 100644 --- a/build/amd64/debian/LegendaryKingdoms.desktop +++ b/build/amd64/debian/LegendaryKingdoms.desktop @@ -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 diff --git a/build/amd64/debian/control b/build/amd64/debian/control index c1273ed..733668d 100644 --- a/build/amd64/debian/control +++ b/build/amd64/debian/control @@ -1,5 +1,5 @@ Package: legendary-kingdoms -Version: 1.0.6 +Version: 1.0.7 Maintainer: Dael Separa Architecture: amd64 Description: Legendary Kingdoms (SDL) diff --git a/build/armhf/raspbian/LegendaryKingdoms.desktop b/build/armhf/raspbian/LegendaryKingdoms.desktop index 1864e3e..a758634 100644 --- a/build/armhf/raspbian/LegendaryKingdoms.desktop +++ b/build/armhf/raspbian/LegendaryKingdoms.desktop @@ -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 diff --git a/build/armhf/raspbian/control b/build/armhf/raspbian/control index b6e5c81..83dc94e 100644 --- a/build/armhf/raspbian/control +++ b/build/armhf/raspbian/control @@ -1,5 +1,5 @@ Package: legendary-kingdoms -Version: 1.0.6 +Version: 1.0.7 Maintainer: Dael Separa Architecture: armhf Description: Legendary Kingdoms (SDL) diff --git a/build/i386/debian/LegendaryKingdoms.desktop b/build/i386/debian/LegendaryKingdoms.desktop index 3417473..05913ef 100644 --- a/build/i386/debian/LegendaryKingdoms.desktop +++ b/build/i386/debian/LegendaryKingdoms.desktop @@ -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 diff --git a/build/i386/debian/control b/build/i386/debian/control index 1ad14c6..c5d11e0 100644 --- a/build/i386/debian/control +++ b/build/i386/debian/control @@ -1,5 +1,5 @@ Package: legendary-kingdoms -Version: 1.0.6 +Version: 1.0.7 Maintainer: Dael Separa Architecture: i386 Description: Legendary Kingdoms (SDL) diff --git a/src/input.hpp b/src/input.hpp index 9f9437a..e8dfc27 100644 --- a/src/input.hpp +++ b/src/input.hpp @@ -72,7 +72,7 @@ namespace Input while (1) { - SDL_PollEvent(&result); + SDL_WaitEvent(&result); if (result.type == SDL_QUIT) { @@ -354,7 +354,7 @@ namespace Input while (1) { - SDL_PollEvent(&result); + SDL_WaitEvent(&result); if (result.type == SDL_QUIT) {