summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-06-08 17:27:30 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-20 17:59:48 +0200
commit8fa94c3547dc7bd25e9bb7f0c404a00028a1107d (patch)
tree75aecde115ac1d8c35434cc6a51c6197db9488b7 /src/main.cpp
parent3321edae77184ae9693e3b74c9ea6235ec1f9029 (diff)
downloadminetest-8fa94c3547dc7bd25e9bb7f0c404a00028a1107d.tar.gz
minetest-8fa94c3547dc7bd25e9bb7f0c404a00028a1107d.tar.bz2
minetest-8fa94c3547dc7bd25e9bb7f0c404a00028a1107d.zip
Check the data path before usage
When not running in place, check if the assumed data path in ../share/APPNAME exists. If it doesn't exist, fall back to ../data instead. This allows the program to run successfully from the checkout directory even without the run-in-place flag active.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions