summaryrefslogtreecommitdiff
path: root/media/openttd.16.png
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-30 20:50:06 +0000
committerbjarni <bjarni@openttd.org>2005-01-30 20:50:06 +0000
commit7d967ad12a6c2f8c33b662a47ad9845b359c83e2 (patch)
tree6ab6f68d95e021786de892781f4fafc5ad5a3faa /media/openttd.16.png
parentfb3af3321a1333675d04fe36443e0690e1837726 (diff)
downloadopenttd-7d967ad12a6c2f8c33b662a47ad9845b359c83e2.tar.xz
(svn r1741) - Fix: added IsVehicleIndex() so it's possible to protect GetVehicle() from reading an invalid vehicle index
- Fix: added check for v->type in some commands, which expects v to be a specific type Checks like this is needed to protect network servers from people, who hack their clients to either cheat or crash the server NOTE: if I made a mistake here it can make a function unreachable when it should be used. Here is one place to look if something weird happens
Diffstat (limited to 'media/openttd.16.png')
0 files changed, 0 insertions, 0 deletions