darkrose should work at a nuclear power plant.

It'd take years to figure out what caused the accident.
This commit is contained in:
Perttu Ahola 2012-07-24 16:34:20 +03:00
parent 558e284e25
commit 0cf1ed544c
2 changed files with 4 additions and 2 deletions

View File

@ -234,8 +234,10 @@ u32 MapNode::serializedLength(u8 version)
return 1;
else if(version <= 9)
return 2;
else
else if(version <= 23)
return 3;
else
return 4;
}
void MapNode::serialize(u8 *dest, u8 version)
{

View File

@ -4016,7 +4016,7 @@ void Server::SendBlocks(float dtime)
RemoteClient *client = getClient(q.peer_id);
SendBlockNoLock(q.peer_id, block, 24);//client->serialization_version);
SendBlockNoLock(q.peer_id, block, client->serialization_version);
client->SentBlock(q.pos);