diff options
author | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
commit | e272b03feea5b4c870dd4af5be9071c903c6173d (patch) | |
tree | d69972d96a0b32848f54422f41b00cf39d06c5f7 /vehicle.c | |
parent | 980e8f525b924491915571c2ed03469bd6751047 (diff) | |
download | openttd-e272b03feea5b4c870dd4af5be9071c903c6173d.tar.xz |
(svn r3365) Staticise 36 functions
Diffstat (limited to 'vehicle.c')
-rw-r--r-- | vehicle.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -191,6 +191,9 @@ Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z) return NULL; } + +static void UpdateVehiclePosHash(Vehicle* v, int x, int y); + void VehiclePositionChanged(Vehicle *v) { int img = v->cur_image; @@ -395,7 +398,7 @@ void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc) -void UpdateVehiclePosHash(Vehicle *v, int x, int y) +static void UpdateVehiclePosHash(Vehicle* v, int x, int y) { VehicleID *old_hash, *new_hash; int old_x = v->left_coord; |