Package: planetpenguin-racer Version: 0.3.1-9 Severity: normal Tags: patch Hi, in ppracer, when playing cups, you are supposed to finish first race before playing second, finish second before playing third and so on. Also, you are supposed to finish first cup before playing second and so on. Therefore, when selecting cups, or when selecting races (inside a cup), "Continue" and "Race!" buttons are inactive. But you can still reach unplayable cups or races by pressing enter. Access to cups or races are checked when clicking on buttons, but not when pressing enter.
Actually, in src/ppgltk/widget.cpp, button status is checked in Widget::mouseDown and Widget::mouseUp (m_sensitive member) but no checking is done in Widget::simulateMouseClick (which is called when enter is pressed). I attach a patch to be used as dpatch. hope this helps, arno -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages planetpenguin-racer depends on: ii libc6 2.6-2 GNU C Library: Shared libraries ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.2-20070712-1 GCC support library ii libgl1-mesa-glx [libgl1 6.5.2-7 A free implementation of the OpenG ii libglu1-mesa [libglu1] 6.5.2-7 The OpenGL utility library (GLU) ii libice6 1:1.0.3-2 X11 Inter-Client Exchange library ii libpng12-0 1.2.15~beta5-2 PNG library - runtime ii libsdl-mixer1.2 1.2.6-2 mixer library for Simple DirectMed ii libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libstdc++6 4.2-20070712-1 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxi6 2:1.1.1-1 X11 Input extension library ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii planetpenguin-racer-dat 0.3.1-9 data files for the game PlanetPeng ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8 ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime Versions of packages planetpenguin-racer recommends: ii planetpenguin-racer-extras 0.5-3 Additional courses for PlanetPengu -- no debconf information
50_fix_can_bypass_unplayable_levels.dpatch
Description: application/shellscript

