diff options
Diffstat (limited to 'sword2/driver/_mouse.cpp')
-rw-r--r-- | sword2/driver/_mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index 8da4538daf..8216c5fa07 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -52,7 +52,7 @@ void LogMouseEvent(uint16 buttons) { // We need to leave the one, which is the current event, alone! if (mouseBacklog == MAX_MOUSE_EVENTS - 1) return; - + me = &mouseLog[(mouseBacklog + mouseLogPos) % MAX_MOUSE_EVENTS]; me->buttons = buttons; mouseBacklog++; |