Fixed Animation packet buffer error, GM command added for testing animations

This commit is contained in:
Waverunner
2014-02-15 15:03:25 -05:00
parent 8d26b2405b
commit 786451b3af
2 changed files with 5 additions and 1 deletions
@@ -45,7 +45,7 @@ public class Animation extends ObjControllerObject {
@Override
public IoBuffer serialize() {
IoBuffer result = IoBuffer.allocate(36).order(ByteOrder.LITTLE_ENDIAN);
IoBuffer result = IoBuffer.allocate(16 + animation.length()).order(ByteOrder.LITTLE_ENDIAN);
result.putInt(ObjControllerMessage.ANIMATION);