mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 19:04:05 +02:00
Ensure renderer doesn't create new threads for gravity simulattion, since it doesn't use it
This commit is contained in:
@@ -1056,6 +1056,7 @@ int parse_save(void *save, int size, int replace, int x0, int y0, unsigned char
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef RENDERER
|
||||
//Change the gravity state
|
||||
if(ngrav_enable != tempGrav && replace)
|
||||
{
|
||||
@@ -1064,6 +1065,7 @@ int parse_save(void *save, int size, int replace, int x0, int y0, unsigned char
|
||||
else
|
||||
stop_grav_async();
|
||||
}
|
||||
#endif
|
||||
|
||||
gravity_mask();
|
||||
|
||||
|
Reference in New Issue
Block a user