[Scummvm-git-logs] scummvm master -> ca040a8f035a8b999f043dda5d8e1139f22ce019
dreammaster
paulfgilbert at gmail.com
Mon Feb 24 01:20:45 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ca040a8f03 ULTIMA8: Fix OOB access to arrays for HID events
Commit: ca040a8f035a8b999f043dda5d8e1139f22ce019
https://github.com/scummvm/scummvm/commit/ca040a8f035a8b999f043dda5d8e1139f22ce019
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-02-23T17:20:41-08:00
Commit Message:
ULTIMA8: Fix OOB access to arrays for HID events
Changed paths:
engines/ultima/ultima8/ultima8.h
diff --git a/engines/ultima/ultima8/ultima8.h b/engines/ultima/ultima8/ultima8.h
index 87756c8..7011fc1 100644
--- a/engines/ultima/ultima8/ultima8.h
+++ b/engines/ultima/ultima8/ultima8.h
@@ -128,8 +128,8 @@ private:
int32 _timeOffset;
bool _hasCheated;
bool _cheatsEnabled;
- uint32 _lastDown[HID_LAST];
- bool _down[HID_LAST];
+ uint32 _lastDown[HID_LAST+1];
+ bool _down[HID_LAST+1];
unsigned int _inversion;
private:
/**
More information about the Scummvm-git-logs
mailing list