Package: chromium
Version: 0.9.12-13
Severity: minor
Tags: patch

Chromium is a mouse game. However, every time you lose, and are
completely dead, you have to press a key to start a new game. No
longer.

Here is a patch:

--- MainSDL_Event.cpp.orig      2007-05-30 21:27:50.000000000 -0700
+++ MainSDL_Event.cpp   2007-05-30 21:31:10.000000000 -0700
@@ -396,6 +396,10 @@
                                break;
                }
        }
+       else if(game->gameMode == Global::HeroDead)
+       {
+               game->menu->keyHit(MainToolkit::KeyEnter);
+       }
        
 }
 
Please note that this patch is designed to be applied after
40_sdl_quit.diff. If you were to apply it before, the 396 should
be 394. Or, you could just apply it manually.

-Brandon



_______________________________________________
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Reply via email to