Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
watabou committed Oct 15, 2014
1 parent 8ff02cb commit 9e9596e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/com/watabou/pixeldungeon/actors/hero/Belongings.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ public <T extends Key> T getKey( Class<T> kind, int depth ) {

public void countIronKeys() {

IronKey.curDethQuantity = 0;
IronKey.curDepthQuantity = 0;

for (Item item : backpack) {
if (item instanceof IronKey && ((IronKey)item).depth == Dungeon.depth) {
IronKey.curDethQuantity++;
IronKey.curDepthQuantity++;
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/com/watabou/pixeldungeon/actors/hero/Hero.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public class Hero extends Char {
public int STR;
public boolean weakened = false;

/** Âåðîÿòíîñòü òîãî, ÷òî*/
public float awareness;

public int lvl = 1;
Expand Down Expand Up @@ -1157,7 +1156,6 @@ public void die( Object cause ) {

public static void reallyDie( Object cause ) {

// Îòêðûâàåì âñþ êàðòó
int length = Level.LENGTH;
int[] map = Dungeon.level.map;
boolean[] visited = Dungeon.level.visited;
Expand Down
1 change: 0 additions & 1 deletion src/com/watabou/pixeldungeon/actors/mobs/Eye.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ protected boolean canAttack( Char enemy ) {

hitCell = Ballistica.cast( pos, enemy.pos, true, false );

// Ïðîâåðÿåì ñ 1é êëåòêè, ïîòîìó ÷òî 0-ÿ - ýòî ñàì áèõîëäåð
for (int i=1; i < Ballistica.distance; i++) {
if (Ballistica.trace[i] == enemy.pos) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/com/watabou/pixeldungeon/items/keys/IronKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class IronKey extends Key {

private static final String TXT_FROM_DEPTH = "iron key from depth %d";

public static int curDethQuantity = 0;
public static int curDepthQuantity = 0;

{
name = "iron key";
Expand Down
2 changes: 1 addition & 1 deletion src/com/watabou/pixeldungeon/ui/StatusPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void update() {
level.y = PixelScene.align( 27.5f - level.baseLine() / 2 );
}

int k = IronKey.curDethQuantity;
int k = IronKey.curDepthQuantity;
if (k != lastKeys) {
lastKeys = k;
keys.text( Integer.toString( lastKeys ) );
Expand Down

0 comments on commit 9e9596e

Please sign in to comment.