diff options
Diffstat (limited to 'games-arcade/bomns/files/bomns-0.99.2-fpe.patch')
-rw-r--r-- | games-arcade/bomns/files/bomns-0.99.2-fpe.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-arcade/bomns/files/bomns-0.99.2-fpe.patch b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch new file mode 100644 index 000000000000..3a9e39c241af --- /dev/null +++ b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch @@ -0,0 +1,14 @@ +--- src/bomns.cpp.old 2015-01-03 18:44:59.947689613 +0100 ++++ src/bomns.cpp 2015-01-03 18:47:29.854777276 +0100 +@@ -432,7 +432,10 @@ + if(g_bShowFps) + { + dwFpsTimer = SDL_GetTicks() - dwFpsTimer; +- nFps = 1000l / dwFpsTimer; ++ if (dwFpsTimer) ++ nFps = 1000l / dwFpsTimer; ++ else ++ nFps = 1000l; + } + + |