diff options
author | bjarni <bjarni@openttd.org> | 2005-10-29 21:54:28 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-10-29 21:54:28 +0000 |
commit | 6d41c23cf2f485728a64470fe49a10c155e250cd (patch) | |
tree | b3245017ad292e3af887c100aad93208b3a2f430 /gfxinit.c | |
parent | 76f4c5b6f9fac784e0330384bddae94a25777eac (diff) | |
download | openttd-6d41c23cf2f485728a64470fe49a10c155e250cd.tar.xz |
(svn r3101) -Codechange: added _new_vehicle_id
this var works like _new_train_id and the rest of that kind of vars, except it is set each time a vehicle is build, nomatter what type
this is a nice tool to code vehicle independent code, which in turn can reduce code duplication
Right now it's used in ReplaceVehicle() and CmdCloneVehicle()
Diffstat (limited to 'gfxinit.c')
0 files changed, 0 insertions, 0 deletions