aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorKari Salminen2008-01-29 21:18:33 +0000
committerKari Salminen2008-01-29 21:18:33 +0000
commit04dda324851d6415ab7ad59d83110387fa130ae2 (patch)
tree2b593a0641f09eda4a635b0ab0f19a919cf8514d /engines
parentafc474c8eb74bdc929dd5a6d20fae3c89715e0c3 (diff)
downloadscummvm-rg350-04dda324851d6415ab7ad59d83110387fa130ae2.tar.gz
scummvm-rg350-04dda324851d6415ab7ad59d83110387fa130ae2.tar.bz2
scummvm-rg350-04dda324851d6415ab7ad59d83110387fa130ae2.zip
Combined two cases that did the exact same thing (In a switch-clause).
svn-id: r30702
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/detection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 972ae76c68..9c0a5c3585 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -2259,8 +2259,6 @@ bool engineCreateAgi(OSystem *syst, Engine **engine, Common::EncapsulatedADGameD
*engine = new Agi::PreAgiEngine(syst, gd);
break;
case Agi::GType_V2:
- *engine = new Agi::AgiEngine(syst, gd);
- break;
case Agi::GType_V3:
*engine = new Agi::AgiEngine(syst, gd);
break;