Revision 13:c78b5eafa10e Server/UPacketHandlers.pas
| b/Server/UPacketHandlers.pas | ||
|---|---|---|
| 162 | 162 |
procedure OnRequestBlocksPacket(ABuffer: TEnhancedMemoryStream; ANetState: TNetState); |
| 163 | 163 |
var |
| 164 | 164 |
coords: TBlockCoordsArray; |
| 165 |
i: Integer; |
|
| 166 | 165 |
begin |
| 167 | 166 |
if not ValidateAccess(ANetState, alView) then Exit; |
| 168 | 167 |
SetLength(coords, (ABuffer.Size - ABuffer.Position) div SizeOf(TBlockCoords)); |
Also available in: Unified diff