From 16a57f299cdad82a87c1d397b56b663a9426c38e Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 15 Feb 2009 03:36:30 +0000 Subject: LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL) - keyboard control now works svn-id: r38190 --- engines/kyra/gui_lok.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/gui_lok.h') diff --git a/engines/kyra/gui_lok.h b/engines/kyra/gui_lok.h index 9eb433bf44..237a0f0d14 100644 --- a/engines/kyra/gui_lok.h +++ b/engines/kyra/gui_lok.h @@ -34,7 +34,7 @@ namespace Kyra { do { \ button.nextButton = 0; \ button.index = a; \ - button.unk6 = button.unk8 = 0; \ + button.keyCode = button.keyCode2 = 0; \ button.data0Val1 = b; \ button.data1Val1 = c; \ button.data2Val1 = d; \ -- cgit v1.2.3