Make the tank-type renderers reset their DisplayLists on texture reload.

This will prevent missing-texture/wrong-texture weirdness when changing texturepacks in-world. Also noticed that two old render classes from my first rewrite of transmitter rendering are now unused, so deleted them.
This commit is contained in:
Ben Spiers committed 2014-09-02 18:44:31 +01:00
1 parent 99a5702de9
commit c21404dd2d
7 files changed
+35 -274

No files matched your search

@@ -728,4 +728,10 @@ public class RenderPartTransmitter implements IIconSelfRegister
return display;
}
public void resetDisplayInts()
{
cachedLiquids.clear();
cachedOverlays.clear();
}
}