docs/elrail_tile.png
| author |
bjarni |
|
Wed, 07 Feb 2007 19:10:19 +0000 |
| changeset 5955 |
fe61588d5188 |
| parent 3355 |
e414a0b104a6
|
| permissions |
-rw-r--r-- |
(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format