mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 08:27:27 +02:00
Fix uninitialized read of Engine::dt early after startup
This commit is contained in:
@@ -31,6 +31,7 @@ Engine::Engine():
|
|||||||
maxWidth(0),
|
maxWidth(0),
|
||||||
maxHeight(0)
|
maxHeight(0)
|
||||||
{
|
{
|
||||||
|
SetFps(FpsLimit); // populate dt with whatever that makes any sort of sense
|
||||||
}
|
}
|
||||||
|
|
||||||
Engine::~Engine()
|
Engine::~Engine()
|
||||||
|
Reference in New Issue
Block a user