From f44874f0a67dab9a45018a16d6fc7bea3def54de Mon Sep 17 00:00:00 2001 From: athrxx Date: Wed, 27 Jul 2011 16:38:31 +0200 Subject: KYRA: add support for Russian Kyra 1 floppy fan translation --- engines/kyra/items_lok.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/kyra/items_lok.cpp') diff --git a/engines/kyra/items_lok.cpp b/engines/kyra/items_lok.cpp index d66eb553f2..105a8efa0d 100644 --- a/engines/kyra/items_lok.cpp +++ b/engines/kyra/items_lok.cpp @@ -575,7 +575,14 @@ void KyraEngine_LoK::dropItem(int unk1, int item, int x, int y, int unk2) { if (processItemDrop(_currentCharacter->sceneId, item, x, y, unk1, unk2)) return; snd_playSoundEffect(54); + + // Old floppy versions don't print warning messages and don't have the necessary string resources. + // These versions will only play the warning sound effect. + if (_flags.isOldFloppy && !_noDropList) + return; + assert(_noDropList); + if (12 == countItemsInScene(_currentCharacter->sceneId)) drawSentenceCommand(_noDropList[0], 6); else -- cgit v1.2.3