Bug#426817: Chromium requires keyboard to start new game after dying.

Brandon winterknight at nerdshack.com
Thu May 31 04:47:20 UTC 2007


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





More information about the Pkg-games-devel mailing list