v0.9.3: fixed bugs caused by observe changes
This commit is contained in:
parent
5ade968e4f
commit
25f9c66f4d
|
@ -196,7 +196,7 @@ public class Dungeon {
|
|||
quickslot.reset();
|
||||
QuickSlotButton.reset();
|
||||
|
||||
depth = 0;
|
||||
depth = 24;
|
||||
gold = 0;
|
||||
|
||||
droppedItems = new SparseArray<>();
|
||||
|
@ -698,8 +698,9 @@ public class Dungeon {
|
|||
Rankings.INSTANCE.submit( true, cause );
|
||||
}
|
||||
|
||||
//default to recomputing based on max hero vision, in case vision just shrank/grew
|
||||
public static void observe(){
|
||||
int dist = Dungeon.hero.viewDistance;
|
||||
int dist = 8;
|
||||
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
|
||||
observe( dist+1 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user