src/tree_cmd.cpp
branchNewGRF_ports
changeset 10184 fcf5fb2548eb
parent 6878 7d1ff2f621c7
child 10724 68a692eacf22
equal deleted inserted replaced
10179:eec5a7dcbf61 10184:fcf5fb2548eb
   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;