author | glx |
Wed, 13 Jun 2007 01:38:00 +0000 | |
changeset 6883 | a7be3fb54737 |
parent 6882 | 10263ea04cf3 |
child 6884 | a931841e9df4 |
src/vehicle.cpp | file | annotate | diff | comparison | revisions |
--- a/src/vehicle.cpp Tue Jun 12 23:35:10 2007 +0000 +++ b/src/vehicle.cpp Wed Jun 13 01:38:00 2007 +0000 @@ -540,6 +540,8 @@ void ResetVehiclePosHash() { + Vehicle *v; + FOR_ALL_VEHICLES(v) { v->old_new_hash = NULL; } memset(_vehicle_position_hash, 0, sizeof(_vehicle_position_hash)); memset(_new_vehicle_position_hash, 0, sizeof(_new_vehicle_position_hash)); }