tree_cmd.c
changeset 1902 86b7fb11f938
parent 1901 03bf9bf99319
child 1977 37bbebf94434
equal deleted inserted replaced
1901:03bf9bf99319 1902:86b7fb11f938
   578 			if ((m2&0x30) != 0) { // on snow/desert or rough land
   578 			if ((m2&0x30) != 0) { // on snow/desert or rough land
   579 				m5 = (m2 >> 6) | 0x10;
   579 				m5 = (m2 >> 6) | 0x10;
   580 				if ((m2&0x30) != 0x20) // if not on snow/desert, then on rough land
   580 				if ((m2&0x30) != 0x20) // if not on snow/desert, then on rough land
   581 					m5 = 7;
   581 					m5 = 7;
   582 			}
   582 			}
   583 			_map_owner[tile] = OWNER_NONE;
   583 			SetTileOwner(tile, OWNER_NONE);
   584 		}
   584 		}
   585 	} else {
   585 	} else {
   586 		/* in the middle of a transition, change to next */
   586 		/* in the middle of a transition, change to next */
   587 		m5++;
   587 		m5++;
   588 	}
   588 	}