src/tree_cmd.cpp
branchnoai
changeset 9869 6404afe43575
parent 9732 f8eb3e208514
child 10455 22c441f5adf9
equal deleted inserted replaced
9868:3998f2e73dda 9869:6404afe43575
   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;