namegen.c
changeset 2549 f1d3b383d557
parent 2484 8e0c88a833fb
child 3106 ac231bc8e06a
equal deleted inserted replaced
2548:97ada3bd2702 2549:f1d3b383d557
   640 
   640 
   641 		case 5: /* Silly */
   641 		case 5: /* Silly */
   642 			/*	NUM_SILLY_1	-	lower 16 bits
   642 			/*	NUM_SILLY_1	-	lower 16 bits
   643 			*	NUM_SILLY_2	-	upper 16 bits without leading 1 (first 8 bytes)
   643 			*	NUM_SILLY_2	-	upper 16 bits without leading 1 (first 8 bytes)
   644 			*	1000 0000 2222 2222 0000 0000 1111 1111 */
   644 			*	1000 0000 2222 2222 0000 0000 1111 1111 */
   645 			return FIXNUM(townnameparts, lengthof(name_silly_1), 0) | FIXNUM(((townnameparts >> 16)&0xFF), lengthof(name_silly_2), 16);
   645 			return FIXNUM(townnameparts, lengthof(name_silly_1), 0) | FIXNUM(GB(townnameparts, 16, 8), lengthof(name_silly_2), 16);
   646 	}
   646 	}
   647 	return 0;
   647 	return 0;
   648 }
   648 }