summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-04 18:43:07 +0000
committertruelight <truelight@openttd.org>2004-12-04 18:43:07 +0000
commit43e495045c1364199feb2d84ef7c938967200020 (patch)
treec55b956f364fcdcadd135130860621613e40c8dc /vehicle.c
parent581302e1473e0942bab41010cbd52bcbdf666dfc (diff)
downloadopenttd-43e495045c1364199feb2d84ef7c938967200020.tar.xz
(svn r947) -Fix: [Network] Desync problem
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 4a895fe9b..ea540c8bd 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -168,7 +168,7 @@ static Vehicle *InitializeVehicle(Vehicle *v)
v->next = NULL;
v->next_hash = 0xffff;
v->string_id = 0;
- v->random_bits = RandomRange(256);
+ v->random_bits = InteractiveRandomRange(256);
return v;
}