mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11921] Improve MoveMapGen script to create mmaps directory if not exists - thanks to Bobi for pointing
This commit is contained in:
parent
bccded7e4b
commit
b03443c425
2 changed files with 10 additions and 1 deletions
|
|
@ -100,8 +100,17 @@ createHeader()
|
||||||
echo "Used params: $PARAMS $OFFMESH" | tee -a $LOG_FILE
|
echo "Used params: $PARAMS $OFFMESH" | tee -a $LOG_FILE
|
||||||
echo "Detailed log can be found in $DETAIL_LOG_FILE" | tee -a $LOG_FILE
|
echo "Detailed log can be found in $DETAIL_LOG_FILE" | tee -a $LOG_FILE
|
||||||
echo "Start creating MoveMaps" | tee -a $DETAIL_LOG_FILE
|
echo "Start creating MoveMaps" | tee -a $DETAIL_LOG_FILE
|
||||||
|
echo
|
||||||
|
echo "Be PATIENT - This will take a long time and might also have gaps between visible changes on the console."
|
||||||
|
echo "WAIT until you are informed that 'creating MoveMaps' is 'finished'!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Create mmaps directory if not exist
|
||||||
|
if [ ! -d mmaps ]
|
||||||
|
then
|
||||||
|
mkdir mmaps
|
||||||
|
fi
|
||||||
|
|
||||||
# Param control
|
# Param control
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"1" )
|
"1" )
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11920"
|
#define REVISION_NR "11921"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue