diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 98ecd90e..591467f5 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -106,6 +106,15 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, map.warpx=false; map.warpy=false; if(ed.level[curlevel].warpdir==0){ map.background = 1; + //Be careful, we could be in a Lab or Warp Zone room... + if(ed.level[curlevel].tileset==2){ + //Lab + map.background = 2; + dwgfx.rcol = ed.level[curlevel].tilecol; + }else if(ed.level[curlevel].tileset==3){ + //Warp Zone + map.background = 6; + } }else if(ed.level[curlevel].warpdir==1){ map.warpx=true; map.background=3;