Skip to content

Commit

Permalink
Fixed pasting walls
Browse files Browse the repository at this point in the history
  • Loading branch information
Borf committed Feb 20, 2023
1 parent e8988bb commit bc444a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browedit/BrowEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void BrowEdit::run()
#ifdef _DEBUG
if(config.isValid() == "")
// loadMap("data\\aldebaran.rsw");
loadMap("data\\prontera.rsw");
// loadMap("data\\prontera.rsw");
// loadMap("data\\amicit01.rsw"); //RSM2
// loadMap("data\\grademk.rsw"); //special effects
// loadMap("data\\noel02.rsw");
Expand All @@ -164,7 +164,7 @@ void BrowEdit::run()
// loadMap("data\\guild_vs1.rsw");
// loadMap("data\\effects_ro.rsw");
// loadMap("data\\prt_in.rsw");
// loadMap("data\\wall_colour.rsw");
loadMap("data\\wall_colour.rsw");
// loadMap("data\\untomb_05s.rsw");
// loadMap("data\\easter_la.rsw");
// loadMap("data\\2@alice_mad.rsw");
Expand Down
2 changes: 1 addition & 1 deletion browedit/MapView.Heightmode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void MapView::postRenderHeightMode(BrowEdit* browEdit)
}
for (int i = 0; i < 3; i++)
{ // paste tiles
if (i > 0 && (browEdit->pasteOptions & PasteOptions::Walls) != 0)
if (i > 0 && (browEdit->pasteOptions & PasteOptions::Walls) == 0)
continue;
int tileId = cube->tileIds[i];
if (tileId == -1)
Expand Down

0 comments on commit bc444a4

Please sign in to comment.