From 9ca463cd4139a9ff114226e58a9fa8529313bb73 Mon Sep 17 00:00:00 2001
From: BogDan Vatra <bogdan@kde.org>
Date: Tue, 13 Jan 2015 18:47:57 +0200
Subject: [PATCH 3/5] Fix crash.
---
source/ps/TouchInput.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/source/ps/TouchInput.cpp b/source/ps/TouchInput.cpp
index a463ff6..ab239e7 100644
a
|
b
|
void CTouchInput::OnFingerUp(int id, int x, int y)
|
113 | 113 | |
114 | 114 | void CTouchInput::OnFingerMotion(int id, int x, int y) |
115 | 115 | { |
| 116 | if (!g_Game) |
| 117 | return; |
| 118 | |
116 | 119 | debug_printf(L"finger motion %d %d %d; state %d\n", id, x, y, m_State); |
117 | 120 | |
118 | 121 | CVector2D pos(x, y); |