mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-15 11:07:38 -04:00
Doom bugfix: updating a saved tranmap didn't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11438 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9a56fdf5b2
commit
a19faaed63
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ void R_InitTranMap(int progress)
|
||||||
const byte *playpal = W_CacheLumpName("PLAYPAL");
|
const byte *playpal = W_CacheLumpName("PLAYPAL");
|
||||||
byte *my_tranmap;
|
byte *my_tranmap;
|
||||||
|
|
||||||
int cachefd = open(GAMEBASE"tranmap.dat",O_RDONLY);
|
int cachefd = open(GAMEBASE"tranmap.dat", O_RDWR);
|
||||||
|
|
||||||
main_tranmap = my_tranmap = Z_Malloc(256*256, PU_STATIC, 0); // killough 4/11/98
|
main_tranmap = my_tranmap = Z_Malloc(256*256, PU_STATIC, 0); // killough 4/11/98
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue