mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Don't draw wall frame in loaded saves.
This commit is contained in:
@@ -918,6 +918,7 @@ int parse_save_OPS(void *save, int size, int replace, int x0, int y0, unsigned c
|
||||
{
|
||||
//Remove everything
|
||||
clear_sim();
|
||||
erase_bframe();
|
||||
}
|
||||
|
||||
bson_init_data(&b, bsonData);
|
||||
@@ -1915,6 +1916,7 @@ int parse_save_PSv(void *save, int size, int replace, int x0, int y0, unsigned c
|
||||
airMode = 0;
|
||||
}
|
||||
clear_sim();
|
||||
erase_bframe();
|
||||
}
|
||||
parts_lastActiveIndex = NPART-1;
|
||||
m = calloc(XRES*YRES, sizeof(int));
|
||||
@@ -2396,6 +2398,7 @@ corrupt:
|
||||
{
|
||||
legacy_enable = 0;
|
||||
clear_sim();
|
||||
erase_bframe();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user