mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-23 16:33:00 +02:00
delete stamps when you delete stamps
This commit is contained in:
@@ -355,6 +355,12 @@ void stamp_update(void)
|
||||
{
|
||||
fwrite(stamps[i].name, 1, 10, f);
|
||||
}
|
||||
else
|
||||
{
|
||||
char name[30] = {0};
|
||||
sprintf(name,"stamps%s%s.stm",PATH_SEP,stamps[i].name);
|
||||
remove(name);
|
||||
}
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user