aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_entity.cpp
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2017-02-18 11:40:37 -0800
committerparamat <mat.gregory@virginmedia.com>2017-03-05 09:46:52 +0000
commitf1ab42fdff7a15d81c8cac0f9192b3d5ff9fb913 (patch)
tree6612bfd7de35fbc2e2df263f35045e5f18491e86 /src/script/cpp_api/s_entity.cpp
parent0a6e53bd31d3905b091dd91c9f284288e503fa48 (diff)
downloadminetest-f1ab42fdff7a15d81c8cac0f9192b3d5ff9fb913.tar.gz
minetest-f1ab42fdff7a15d81c8cac0f9192b3d5ff9fb913.tar.bz2
minetest-f1ab42fdff7a15d81c8cac0f9192b3d5ff9fb913.zip
Font: attempt fallback font, abort if no fonts found.
If you happen to have a font_path setting that is incorrect, minetest will just attempt to start the gui without a valid font which leads to a segfault later on. We can attempt to load the fallback font path fairly easy, but if that fails we should give up with a proper error message and not a weird segfault later. This forces an abort() if the fallback fails as well, and prints a useful error message to the console.
Diffstat (limited to 'src/script/cpp_api/s_entity.cpp')
0 files changed, 0 insertions, 0 deletions