Skip to content

Commit

Permalink
darkrose should work at a nuclear power plant.
Browse files Browse the repository at this point in the history
It'd take years to figure out what caused the accident.
  • Loading branch information
celeron55 committed Jul 24, 2012
1 parent 558e284 commit 0cf1ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/mapnode.cpp
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 0cf1ed5

Please sign in to comment.