]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 fdb68a2e979610a3d59856d026a8681be0472110..b5f26afdba2177121fd0d9e82ca2e65c1514c53e 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;