Permalink
Browse files

Get rid of the lag, but sometimes there are blocks with the wrong lig…

…hting.
  • Loading branch information...
1 parent 7dd0952 commit 8cb417a24e10ecf36ca6a0e3265f0b3e1c989786 @SpyderLink SpyderLink committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map.cpp
View
@@ -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 */;

0 comments on commit 8cb417a

Please sign in to comment.