Fix default render modes not being the same as Fire display mode

Special effects like EMBR sparks weren't included, this only affected the renderer, causing those special effects to not render.
This commit is contained in:
jacob1 2020-09-15 15:23:05 -04:00
parent efc693bf43
commit efd2b41980
2 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,10 @@ int main(int argc, char *argv[])
ByteString ppmFilename, ptiFilename, ptiSmallFilename, pngFilename, pngSmallFilename;
std::vector<char> ppmFile, ptiFile, ptiSmallFile, pngFile, pngSmallFile;
if (!argv[1] || !argv[2]) {
std::cout << "Usage: " << argv[0] << " <inputFilename> <outputPrefix>" << std::endl;
return 1;
}
inputFilename = argv[1];
outputPrefix = argv[2];

View File

@ -2940,7 +2940,7 @@ unsigned int Renderer::GetColourMode()
void Renderer::ResetModes()
{
SetRenderMode({ RENDER_BASC, RENDER_FIRE, RENDER_SPRK });
SetRenderMode({ RENDER_BASC, RENDER_FIRE, RENDER_SPRK, RENDER_EFFE });
SetDisplayMode({ });
SetColourMode(COLOUR_DEFAULT);
}