diff options
Diffstat (limited to 'wall-tileset-tool')
-rw-r--r-- | wall-tileset-tool/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/wall-tileset-tool/main.cpp b/wall-tileset-tool/main.cpp index f7c92772..974273fc 100644 --- a/wall-tileset-tool/main.cpp +++ b/wall-tileset-tool/main.cpp @@ -77,16 +77,15 @@ bool do_direction(state& st, Direction_ i) { char errbuf[128]; auto error = get_error_string(errbuf); - Fatal{Fatal::Flag::NoSpace} << "fatal: direction '" << name - << "' has missing directory '" << dir - << "': " << error; + WARN_nospace << "fatal: direction '" << name + << "' has missing directory '" << dir + << "': " << error; return false; } auto dir_count = st.old_atlas.direction_mask.count(); st.new_atlas.direction_array = std::vector<Direction>{dir_count}; - return true; } |