Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79441 - ball in trackballs game start's moving by itself (with patch fixing it)
Summary: ball in trackballs game start's moving by itself (with patch fixing it)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-25 04:02 UTC by Yasha Davidov
Modified: 2005-01-25 17:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha Davidov 2005-01-25 04:02:51 UTC
Sometimes after few games ball in trackballs game (games-action/trackballs, trackballs-1.0.0.ebuild ) starts moving by itself. This bug is described in the url.

Reproducible: Sometimes
Steps to Reproduce:
1. Run the game
2. Play few levels with keyboard and mouse

Actual Results:  
Ball is moving by itself

Expected Results:  
Ball shouldn't move

This problem can be fixed with the simple patch wich was publicated in the url
above.
diff -ru trackballs-1.0.0-orig/src/player.cc
trackballs-1.0.0/src/player.cc
--- trackballs-1.0.0-orig/src/player.cc Sat Mar 20 02:04:32 2004
+++ trackballs-1.0.0/src/player.cc      Sat Mar 20 02:05:32 2004
@@ -68,6 +68,7 @@
 
   if(!Game::current) return;
   if(!playing) return;
+  dx = dy = 0.0;
   Map *map = Game::current->map;
   health+=t * 0.4; if(health > 1.0) health = 1.0;

This bug was found long time ago but there is no new versions for a long time.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-01-25 17:05:40 UTC
fixed.  Thanks for the bug report and patch.