fix a typo in auto map type detection
authorRudolf Polzer <divverent@xonotic.org>
Sat, 12 Nov 2011 11:31:33 +0000 (12:31 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 12 Nov 2011 11:31:33 +0000 (12:31 +0100)
plugins/mapq3/plugin.cpp

index fdb68a2..b5f26af 100644 (file)
@@ -305,7 +305,7 @@ public:
           tokeniser.ungetToken(); // (
           return GlobalBrushModule::getTable().createBrush();
         }
-       else if(!detectedFormat && string_equal(primitive, "("))
+       else if(!detectedFormat && string_equal(primitive, "brushDef"))
        {
          detectedFormat = true;
          wrongFormat = true;