X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fmapq3%2Fplugin.cpp;fp=plugins%2Fmapq3%2Fplugin.cpp;h=c08a7e2e6f051adfba4a5322072489460b30fe18;hp=be7212c2bc9fa84d67e12008a8d5d50d7ee5c213;hb=2b0a97c814fc84fea99c3d960cfc6314815cf022;hpb=652a2d36fb6a2ca5836d4a952a93144c8f856390 diff --git a/plugins/mapq3/plugin.cpp b/plugins/mapq3/plugin.cpp index be7212c2..c08a7e2e 100644 --- a/plugins/mapq3/plugin.cpp +++ b/plugins/mapq3/plugin.cpp @@ -291,6 +291,7 @@ public: else if(!detectedFormat && string_equal(primitive, "(")) { detectedFormat = true; + wrongFormat = true; Tokeniser_unexpectedError(tokeniser, primitive, "#quake3-switch-to-texdef"); return g_nullNode; } @@ -306,6 +307,7 @@ public: else if(!detectedFormat && string_equal(primitive, "(")) { detectedFormat = true; + wrongFormat = true; Tokeniser_unexpectedError(tokeniser, primitive, "#quake3-switch-to-brush-primitives"); return g_nullNode; } @@ -319,6 +321,7 @@ public: void readGraph(scene::Node& root, TextInputStream& inputStream, EntityCreator& entityTable) const { detectedFormat = false; + wrongFormat = false; Tokeniser& tokeniser = GlobalScripLibModule::getTable().m_pfnNewSimpleTokeniser(inputStream); Map_Read(root, tokeniser, entityTable, *this); tokeniser.release();