Bug#649021: zaz: Keyboard shooting jumps to the left

Steve Cotton steve0001 at s.cotton.clara.co.uk
Wed Nov 16 23:29:01 UTC 2011


Package: zaz
Version: 1.0.0~dfsg1-1
Severity: normal
Tags: patch

When playing with the keyboard, pressing or releasing spacebar makes the
player jump to the left or right edge of the screen.  If the mouse is moved
at all, then the bug disappears until the next level or life starts.

Caused by the code path through Player::Logic, which handles SDLK_SPACE by
setting flags and forcing it through the mouse code path.

Attached patch cleans up the uninitialised values during all events, not
just mouse ones.

Regards,
Steve

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zaz depends on:
ii  libc6                     2.13-21       
ii  libftgl2                  2.1.3~rc5-3   
ii  libgcc1                   1:4.6.2-4     
    libgl1-mesa-glx [libgl1]  Overwritten by Nvidia install
ii  libogg0                   1.2.2~dfsg-1  
ii  libsdl-image1.2           1.2.10-2.1+b1 
ii  libsdl1.2debian           1.2.14-6.4    
ii  libstdc++6                4.6.2-4       
ii  libtheora0                1.1.1+dfsg.1-3
ii  libvorbis0a               1.3.2-1       
ii  libvorbisenc2             1.3.2-1       
ii  libvorbisfile3            1.3.2-1       
ii  ttf-freefont              20100919-1    
ii  zaz-data                  1.0.0~dfsg1-1 

zaz recommends no packages.

Versions of packages zaz suggests:
pn  zaz-dbg  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jumpy_keyboard.patch
Type: text/x-diff
Size: 646 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20111116/7f320932/attachment.patch>


More information about the Pkg-games-devel mailing list