src/tree_cmd.cpp
changeset 8806 4fe163e0b52a
parent 8616 fd862a55c47f
child 9111 48ce04029fe4
equal deleted inserted replaced
8805:f5ca1c3d16af 8806:4fe163e0b52a
   443 	}
   443 	}
   444 
   444 
   445 	DrawClearLandFence(ti);
   445 	DrawClearLandFence(ti);
   446 
   446 
   447 	/* Do not draw trees when the invisible trees patch and transparency tree are set */
   447 	/* Do not draw trees when the invisible trees patch and transparency tree are set */
   448 	if (IsTransparencySet(TO_TREES) && _patches.invisible_trees) return;
   448 	if (IsInvisibilitySet(TO_TREES)) return;
   449 
   449 
   450 	uint16 tmp = ti->x;
   450 	uint16 tmp = ti->x;
   451 
   451 
   452 	tmp = ROR(tmp, 2);
   452 	tmp = ROR(tmp, 2);
   453 	tmp -= ti->y;
   453 	tmp -= ti->y;