restore.h
./lib/include/fn/restore.h · 466 B
From the archive h7v3.0a.tar.gz
Download the archive « Back to the archive contents
#ifndef RESTORE_H
#define RESTORE_H
/* Amylaar, mudos, and 3.1.2 have different save_object formats */
/* This will ignore incompatible driver formats */
static mixed my_restore_object(string file) {
mixed ret;
if(catch(ret = restore_object(file))) {
write("Error: Save File is incorrect Format for "+ version()
+" Driver.\n");
return 0;
}
return ret;
}
#define restore_object my_restore_object
#endif /* RESTORE_H */