Updated OpenTTD, fixes for NDK r6.

This commit is contained in:
pelya
2011-10-26 16:03:12 +03:00
parent 5ca1cf38ee
commit caab1c07bb
9 changed files with 99 additions and 75 deletions

View File

@@ -393,9 +393,12 @@ public class MainActivity extends Activity {
@Override
public boolean dispatchGenericMotionEvent (MotionEvent ev)
{
// This code fails to run for Android 1.6, so there will be no generic motion event for Andorid screen keyboard
/*
if(_screenKeyboard != null)
_screenKeyboard.dispatchGenericMotionEvent(ev);
else
*/
if(mGLView != null)
mGLView.onGenericMotionEvent(ev);
return true;