Merging 1.7.5 Source: actors/blobs changes

This commit is contained in:
Evan Debenham
2015-01-30 16:08:23 -05:00
parent c467cb966c
commit d50c566579
2 changed files with 26 additions and 41 deletions
@@ -30,9 +30,8 @@ import com.watabou.utils.Random;
public class Freezing {
// It's not really a blob...
public static void affect( int cell, Fire fire ) {
// Returns true, if this cell is visible
public static boolean affect( int cell, Fire fire ) {
Char ch = Actor.findChar( cell );
if (ch != null) {
@@ -54,8 +53,9 @@ public class Freezing {
if (Dungeon.visible[cell]) {
CellEmitter.get( cell ).start( SnowParticle.FACTORY, 0.2f, 6 );
return true;
} else {
return false;
}
}
}