mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Blood : Fix mirror issue
Fixes #334 and #338 # Conflicts: # source/blood/src/menu.cpp
This commit is contained in:
parent
aee64e8e34
commit
b7294e45a1
1 changed files with 9 additions and 1 deletions
|
@ -488,6 +488,14 @@ static MirrorLoadSave *myLoadSave;
|
|||
|
||||
void MirrorLoadSave::Load(void)
|
||||
{
|
||||
#ifdef USE_OPENGL
|
||||
r_rortexture = 4080;
|
||||
r_rortexturerange = 16;
|
||||
#ifdef POLYMER
|
||||
polymer_setrorcallback(PolymerRORCallback);
|
||||
#endif // POLYMER
|
||||
|
||||
#endif
|
||||
Read(&mirrorcnt,sizeof(mirrorcnt));
|
||||
Read(&mirrorsector,sizeof(mirrorsector));
|
||||
Read(mirror, sizeof(mirror));
|
||||
|
@ -502,10 +510,10 @@ void MirrorLoadSave::Load(void)
|
|||
{
|
||||
wall[mirrorwall[i]].picnum = 504;
|
||||
wall[mirrorwall[i]].overpicnum = 504;
|
||||
wall[mirrorwall[i]].point2 = numwalls;
|
||||
wall[mirrorwall[i]].cstat = 0;
|
||||
wall[mirrorwall[i]].nextsector = -1;
|
||||
wall[mirrorwall[i]].nextwall = -1;
|
||||
wall[mirrorwall[i]].point2 = numwalls+i+1;
|
||||
}
|
||||
wall[mirrorwall[3]].point2 = mirrorwall[0];
|
||||
sector[mirrorsector].ceilingpicnum = 504;
|
||||
|
|
Loading…
Reference in a new issue