aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-02-01 20:17:09 +0100
committerWillem Jan Palenstijn2016-02-01 20:17:09 +0100
commit8a0e8134938435524c79944656edf6807c3a3722 (patch)
tree30a5f4adeb72829fa8aeada7045f009b8dea1182
parentfcdf68df42e5617f2ce8255a63fac6813da79097 (diff)
downloadscummvm-rg350-8a0e8134938435524c79944656edf6807c3a3722.tar.gz
scummvm-rg350-8a0e8134938435524c79944656edf6807c3a3722.tar.bz2
scummvm-rg350-8a0e8134938435524c79944656edf6807c3a3722.zip
Revert "TOUCHE: Fix buffer overrun. CID 1003934"
This reverts commit 9d2cc7ce84107d93d56371e8266cbe2193a7923b.
-rw-r--r--engines/touche/touche.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/touche.h b/engines/touche/touche.h
index 20bf723553..3de5b8caf2 100644
--- a/engines/touche/touche.h
+++ b/engines/touche/touche.h
@@ -102,7 +102,7 @@ struct KeyChar {
int16 zPosPrev;
int16 prevWalkDataNum;
uint16 textColor;
- int16 inventoryItems[5];
+ int16 inventoryItems[4];
int16 money;
int16 pointsDataNum;
int16 currentWalkBox;