cache/ObjectLoader: add randomizeAnimStart opcode from rev 193

This commit is contained in:
Max Weber
2021-04-13 10:51:31 -06:00
parent 4603e39879
commit 36216c7cf4
2 changed files with 5 additions and 0 deletions

View File

@@ -75,5 +75,6 @@ public class ObjectDefinition
private int anInt2112 = 0;
private int anInt2113 = 0;
private boolean blocksProjectile = true;
private boolean randomizeAnimStart;
private Map<Integer, Object> params = null;
}

View File

@@ -306,6 +306,10 @@ public class ObjectLoader
{
def.setMapAreaId(is.readUnsignedShort());
}
else if (opcode == 89)
{
def.setRandomizeAnimStart(true);
}
else if (opcode == 92)
{
int varpID = is.readUnsignedShort();