aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-29 09:46:59 +0200
committerEugene Sandulenko2013-10-29 09:46:59 +0200
commit9d2cc7ce84107d93d56371e8266cbe2193a7923b (patch)
treeb3dff2aef534b819396fa1e8f855049f50420284
parent36ad6a69ca29e86ac5bfaebaee90cc61c0a54a67 (diff)
downloadscummvm-rg350-9d2cc7ce84107d93d56371e8266cbe2193a7923b.tar.gz
scummvm-rg350-9d2cc7ce84107d93d56371e8266cbe2193a7923b.tar.bz2
scummvm-rg350-9d2cc7ce84107d93d56371e8266cbe2193a7923b.zip
TOUCHE: Fix buffer overrun. CID 1003934
-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 6ac43e7dfe..9cc42b0c68 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[4];
+ int16 inventoryItems[5];
int16 money;
int16 pointsDataNum;
int16 currentWalkBox;