Fixed $ not correctly setting the deepest depth in branches from the ^G depth

prompt under certain circumstances (Erik).

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1837 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dshaligram  on July 11, 2007
25BU4E7ND5KWNWCNIEOQPI5ITHMRNVQUQNJURBFSEP5FVASYDVQQC
Change contents