diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 811b64af..9f86b8a7 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -2005,13 +2005,6 @@ void Graphics::drawbackground( int t ) warpfcol = RGBflip(0xFF, 0xFF, 0xFF); } - backoffset += 1; - if (backoffset >= 16) - { - backoffset -= 16; - warpskip = (warpskip + 1) % 2; - } - for (int i = 10 ; i >= 0; i--) { temp = (i << 4) + backoffset; @@ -2212,6 +2205,16 @@ void Graphics::updatebackground(int t) backgrounddrawn = true; } break; + case 5: + //Warp zone, central + + backoffset += 1; + if (backoffset >= 16) + { + backoffset -= 16; + warpskip = (warpskip + 1) % 2; + } + break; case 6: //Final Starfield for (int i = 0; i < 50; i++) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index c079a032..539b9fe6 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -3618,6 +3618,10 @@ void editorlogic() graphics.rcol=ed.getwarpbackground(ed.levx, ed.levy); graphics.updatebackground(4); break; + case 3: + graphics.rcol=ed.getwarpbackground(ed.levx, ed.levy); + graphics.updatebackground(5); + break; default: break; }