Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Enno Rehling 2017-08-16 21:50:26 +02:00
commit b6dc3fd6f4

View file

@ -61,6 +61,9 @@ static int a_readkeys(attrib * a, void *owner, gamedata *data) {
static int a_readkey(attrib *a, void *owner, struct gamedata *data) { static int a_readkey(attrib *a, void *owner, struct gamedata *data) {
int res = a_readint(a, owner, data); int res = a_readint(a, owner, data);
if (data->version>=KEYVAL_VERSION) {
return AT_READ_FAIL;
}
return (res != AT_READ_FAIL) ? AT_READ_DEPR : res; return (res != AT_READ_FAIL) ? AT_READ_DEPR : res;
} }