mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
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:
@@ -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];
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user