Merging 1.7.5 Source: actors/blobs changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user