continue;
// use a line for each object, listing all properties
- fputs(fh, strcat("object", ftos(i), " ", sandbox_Storage_Save(head, TRUE), "\n"));
+ fputs(fh, strcat(sandbox_Storage_Save(head, TRUE), "\n"));
i++;
}
fclose(fh);
{
// loads all objects from the database file
string fn, rf;
- float fh;
+ float fh, n;
fn = strcat("sandbox/storage_", GetMapname(), ".txt");
fh = fopen(fn, FILE_READ);
return FALSE;
if(cmd_name == "g_sandbox")
{
+sandbox_Storage_DatabaseLoad();
if(cmd_argc < 2)
{
print_to(self, "Sandbox mode is active. For usage information, type 'sandbox help'");