diff -r 5dc8b48f80b3 -r 5e4bd3b212ce launcher/demo.cpp --- a/launcher/demo.cpp Sun Jun 07 18:11:06 2015 +0300 +++ b/launcher/demo.cpp Sun Jun 07 18:31:19 2015 +0300 @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -165,6 +166,10 @@ uint8 connectionType; }; +// +// ------------------------------------------------------------------------------------------------- +// + struct DemoHeaders { uint8 length; @@ -174,6 +179,10 @@ uint8 wads; }; +// +// ------------------------------------------------------------------------------------------------- +// + int launchDemo (QString path) { QFile f (path); @@ -302,6 +311,9 @@ if (not prompt->exec()) return 1; + + version = findVersion (zanversion); + assert (not version.name.isNull()); } QString iwadpath;