Fixed getname script with new path

This commit is contained in:
Rob Pearce 2008-12-02 22:06:08 +00:00
parent 8636d3866e
commit 1c7fc8d1df
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ ADJLEVEL=`expr $LEVEL - 1`
LINE1=`expr $ADJWORLD \* 20 + $ADJLEVEL`
LINE=`expr $LINE1 + 1`
NAMELINE=`head -n $LINE data/map.dat | tail -n 1`
NAMELINE=`head -n $LINE map.dat | tail -n 1`
NAME=`echo $NAMELINE | awk -F',' '{print $3}'`
#echo Level $WORLD-$LEVEL is $NAME