Merging Source v1.7.2: corrected sleeping typo

This commit is contained in:
Evan Debenham
2014-10-21 00:41:44 -04:00
parent 13afc9df8d
commit f352efded2
4 changed files with 10 additions and 11 deletions
@@ -20,7 +20,6 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob;
import com.shatteredpixel.shatteredpixeldungeon.sprites.RatKingSprite;
@@ -30,7 +29,7 @@ public class RatKing extends NPC {
name = "rat king";
spriteClass = RatKingSprite.class;
state = SLEEPEING;
state = SLEEPING;
}
@Override
@@ -64,7 +63,7 @@ public class RatKing extends NPC {
@Override
public void interact() {
sprite.turnTo( pos, Dungeon.hero.pos );
if (state == SLEEPEING) {
if (state == SLEEPING) {
notice();
yell( "I'm not sleeping!" );
state = WANDERING;