Skip to content

Commit

Permalink
Changed an exception in lightmapping from a crash to a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Borf committed Mar 12, 2023
1 parent 4019fd2 commit d64a473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browedit/Lightmapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ void Lightmapper::calcPos(int direction, int tileId, int x, int y)
normal = -normal;
}
else
throw "wtf";
std::cerr << "You have a wall on the edge of tile " << x << "," << y << " ...this won't work" << std::endl;
if (buildDebugPoints)
{
debugPointMutex.lock();
Expand Down

0 comments on commit d64a473

Please sign in to comment.