some bug fixes + updated engine with networking fixes

This commit is contained in:
Light2
2013-12-28 19:16:51 +01:00
parent c3cf8713bf
commit acf78858a6
14 changed files with 72 additions and 40 deletions
@@ -63,7 +63,7 @@ public abstract class ObjectMessageBuilder {
}
public IoBuffer createDelta(String objectType, byte viewType, short updateCount, short updateType, IoBuffer data, int size) {
IoBuffer buffer = bufferPool.allocate(27 + size, false).order(ByteOrder.LITTLE_ENDIAN);
IoBuffer buffer = bufferPool.allocate(23 + size, false).order(ByteOrder.LITTLE_ENDIAN);
buffer.putShort((short) 5);
buffer.putInt(Opcodes.DeltasMessage);