From 47227a3fddfdb39c1742604328601ef441bea512 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 9 Jan 2004 16:51:22 +0000 Subject: [PATCH] Oops fixing mistake that broke ultima 7 and 8 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1550 --- src/ints/mouse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ints/mouse.cpp b/src/ints/mouse.cpp index 2354de4e..7ecf0f68 100644 --- a/src/ints/mouse.cpp +++ b/src/ints/mouse.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002-2003 The DOSBox Team + * Copyright (C) 2002-2004 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: mouse.cpp,v 1.28 2004-01-02 18:47:13 qbix79 Exp $ */ +/* $Id: mouse.cpp,v 1.29 2004-01-09 16:51:22 qbix79 Exp $ */ #include #include "dosbox.h" @@ -127,7 +127,7 @@ INLINE void Mouse_AddEvent(Bit16u type) { * handled backwards (prevents doubleclicks while moving) */ for(Bitu i = mouse.events ; i ; i--) - mouse.event_queue[i-1] = mouse.event_queue[i]; + mouse.event_queue[i] = mouse.event_queue[i-1]; mouse.event_queue[0].type=type; mouse.event_queue[0].buttons=mouse.buttons; mouse.events++;