vehicle.c
changeset 1111 6f4d8544e70b
parent 1109 ecb98f43ba2c
child 1128 ca7f860db7ac
equal deleted inserted replaced
1110:baffa04c6417 1111:6f4d8544e70b
   190 
   190 
   191 	v->left_coord = INVALID_COORD;
   191 	v->left_coord = INVALID_COORD;
   192 	v->next = NULL;
   192 	v->next = NULL;
   193 	v->next_hash = 0xffff;
   193 	v->next_hash = 0xffff;
   194 	v->string_id = 0;
   194 	v->string_id = 0;
       
   195 	v->next_shared = NULL;
       
   196 	v->prev_shared = NULL;
   195 	/* random_bits is used to pick out a random sprite for vehicles
   197 	/* random_bits is used to pick out a random sprite for vehicles
   196 	    which are technical the same (newgrf stuff).
   198 	    which are technical the same (newgrf stuff).
   197 	   Because RandomRange() results in desyncs, and because it does
   199 	   Because RandomRange() results in desyncs, and because it does
   198 	    not really matter that one client has other visual vehicles than
   200 	    not really matter that one client has other visual vehicles than
   199 	    the other, it can be InteractiveRandomRange() without any problem
   201 	    the other, it can be InteractiveRandomRange() without any problem