Skip to content

Commit

Permalink
Get rid of the lag, but sometimes there are blocks with the wrong lig…
Browse files Browse the repository at this point in the history
…hting.
  • Loading branch information
SpyderLink committed Jun 21, 2012
1 parent 7dd0952 commit 8cb417a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ void Map::sendToUser(User* user, int x, int z, bool login)
//ToDo: now sending all 16 16x16 chunks, limit to only those with blocks.
// Chunk
(*p) << (int8_t)PACKET_MAP_CHUNK << (int32_t)(mapposx) << (int32_t)(mapposz)
<< (int8_t)0 /* Biome Data bool? */ << (int16_t)0xffff /* Enabled chunks 0..15 */
<< (int8_t)1 /* Biome Data bool? */ << (int16_t)0xffff /* Enabled chunks 0..15 */
<< (int16_t)0xffff /* Enabled additional data? in the enabled chunks */;


Expand Down

0 comments on commit 8cb417a

Please sign in to comment.