mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Re-enable Mapster32's undo/redo functionality.
git-svn-id: https://svn.eduke32.com/eduke32@2486 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
65fe7ce3bd
commit
5e1b3bd44b
2 changed files with 1 additions and 3 deletions
|
@ -121,7 +121,7 @@ extern void M32_ResetFakeRORTiles(void);
|
|||
extern int32_t kopen4loadfrommod(const char *filename, char searchfirst);
|
||||
|
||||
// set to 1 to enable:
|
||||
#define M32_UNDO 0
|
||||
#define M32_UNDO 1
|
||||
extern int32_t map_revision;
|
||||
extern int32_t map_undoredo(int32_t dir);
|
||||
extern void map_undoredo_free(void);
|
||||
|
|
|
@ -622,8 +622,6 @@ int32_t map_undoredo(int32_t dir)
|
|||
insertsprite(sprite[i].sectnum,sprite[i].statnum);
|
||||
}
|
||||
|
||||
// XXX: this fails currently! the decompressed sprites have
|
||||
// .statnum==MAXSTATUS and .sectnum==MAXSECTORS. WTF?!
|
||||
assert(Numsprites == mapstate->numsprites);
|
||||
|
||||
#ifdef POLYMER
|
||||
|
|
Loading…
Reference in a new issue