(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
This commit is contained in:
@@ -375,7 +375,7 @@ static const SpriteGroup* ResolveVehicleSpriteGroup(const SpriteGroup *spritegro
|
||||
static const SpriteGroup *GetVehicleSpriteGroup(EngineID engine, const Vehicle *v)
|
||||
{
|
||||
const SpriteGroup *group;
|
||||
byte cargo = GC_PURCHASE;
|
||||
CargoID cargo = GC_PURCHASE;
|
||||
|
||||
if (v != NULL) {
|
||||
cargo = _global_cargo_id[_opt.landscape][v->cargo_type];
|
||||
|
Reference in New Issue
Block a user