v0.4.3: fixed a number of issues, including:
- dead heroes sometimes being able to use quickslots - wand of fireblast not always ingiting barriers - horn of plenty sometimes gaining 21 max charges - animations being skipped when the player moves into grass or doors - fire constantly re-igniting when a burning character is standing in a doorway. - bugginess when rapidly tapping on search - stench and venom gas being hard to see - Fog of war not completely updating on player death.
This commit is contained in:
@@ -67,24 +67,28 @@ public class SmartTexture extends Texture {
|
||||
protected void generate() {
|
||||
super.generate();
|
||||
bitmap( bitmap, premultiplied );
|
||||
filter( fModeMin, fModeMax );
|
||||
wrap( wModeH, wModeV );
|
||||
super.filter( fModeMin, fModeMax );
|
||||
super.wrap( wModeH, wModeV );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void filter(int minMode, int maxMode) {
|
||||
if (fModeMin == minMode && fModeMax == maxMode) return;
|
||||
|
||||
fModeMin = minMode;
|
||||
fModeMax = maxMode;
|
||||
if (id != -1)
|
||||
super.filter( fModeMin = minMode, fModeMax = maxMode);
|
||||
super.filter( fModeMin, fModeMax );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void wrap( int s, int t ) {
|
||||
if (wModeH == s && wModeV == t) return;
|
||||
|
||||
wModeH = s;
|
||||
wModeV = t;
|
||||
if (id != -1)
|
||||
super.wrap( wModeH = s, wModeV = t );
|
||||
super.wrap( wModeH, wModeV );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user