summaryrefslogtreecommitdiff
path: root/games/xmoto/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-05 13:38:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-05 13:38:45 +0000
commit0837e5470073168d3ef535c32124399bab31a363 (patch)
tree24c54ba3707264cc9e0166dd7157f449fce6d884 /games/xmoto/files
parent- Use termios.h instead of sgtty.h (diff)
- Update to 0.4.0
PR: 120067 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=206749
Diffstat (limited to 'games/xmoto/files')
-rw-r--r--games/xmoto/files/patch-src-xmscene-BikeController.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/xmoto/files/patch-src-xmscene-BikeController.cpp b/games/xmoto/files/patch-src-xmscene-BikeController.cpp
new file mode 100644
index 000000000000..1154fd0f6bb5
--- /dev/null
+++ b/games/xmoto/files/patch-src-xmscene-BikeController.cpp
@@ -0,0 +1,15 @@
+--- src/xmscene/BikeController.cpp.orig 2008-01-06 12:56:21.000000000 +0300
++++ src/xmscene/BikeController.cpp 2008-02-05 14:49:40.000000000 +0300
+@@ -77,11 +77,7 @@
+ m_drive = -m_break;
+ }
+ else if(m_break == 0.0f){
+- if(m_throttle != 0.0f){
+- m_drive = m_throttle;
+- } else {
+- m_drive = 0.0f;
+- }
++ m_drive = m_throttle;
+ }
+ }
+