Merging Source v1.7.2: corrected sleeping typo
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user