rs-client: refactor sprite loading methods

This commit is contained in:
ThatGamerBlue
2019-07-19 07:25:27 +01:00
parent 36d1fd4148
commit f4181265c0
13 changed files with 25 additions and 24 deletions

View File

@@ -283,7 +283,7 @@ public class WorldMapElement extends DualNode {
if (var2 != null) {
return var2;
} else {
var2 = class65.SpriteBuffer_tryCreateSprite(WorldMapElement_archive, var1, 0);
var2 = class65.loadSprite(WorldMapElement_archive, var1, 0);
if (var2 != null) {
WorldMapElement_cachedSprites.put(var2, (long)var1);
}