Files @ r4576:72aa406aac60
Branch filter:

Location: cpp/openttd-patchpack/source/roadveh.h

miham
(svn r6426) [langchanges] WT2 screwed up hungarian translations, because server ran out of disc space (nightlies took up too much space).
First step: restore hungarian languagefile
/* $Id$ */

#include "vehicle.h"


static inline bool IsRoadVehInDepot(const Vehicle* v)
{
	assert(v->type == VEH_Road);
	return v->u.road.state == 254;
}

static inline bool IsRoadVehInDepotStopped(const Vehicle* v)
{
	return IsRoadVehInDepot(v) && v->vehstatus & VS_STOPPED;
}