From a526e35d3d89754c801283588667168bc772c618 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 23 Dec 2009 17:07:01 +0000 Subject: SCI: Fix warning svn-id: r46509 --- engines/sci/resource.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 47cbf5259e..7a9cfc24c1 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -1892,6 +1892,9 @@ SoundResource::SoundResource(uint32 resNumber, ResourceManager *resMan, SciVersi [w] ? size again - decompressed size maybe */ break; + + default: + error("SoundResource: SCI version %d is unsupported", _soundVersion); } } //---------------------------------------------------- -- cgit v1.2.3