From 72ffa2a021c23cc9c40788f378d5f1bbc6e9f67c Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 7 Apr 2018 10:19:28 +0100 Subject: [PATCH] Don't add keys to stash if this is a training mission. --- src/game/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/game.c b/src/game/game.c index 54cb641..8a7c4a2 100644 --- a/src/game/game.c +++ b/src/game/game.c @@ -163,7 +163,7 @@ void dropCarriedItems(void) if (item != NULL) { - if (item->type == ET_KEY) + if (item->type == ET_KEY && world.missionType != MT_TRAINING) { addKeyToStash(item);