mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-04 14:32:48 +02:00
Ensure renderer doesn't create new threads for gravity simulattion, since it doesn't use it
This commit is contained in:
parent
4ebe56f65c
commit
6dedc28517
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user