player/finance.h
inline void book_new_vehicle(const sint64 amount, const waytype_t wt)
	{
		// Note that for a new vehicle, amount is NEGATIVE
		// It is positive for a SALE of a vehicle
		const transport_type tt = translate_waytype_to_tt(wt);

		veh_year[ tt][0][ATV_NEW_VEHICLE] += amount;
		veh_month[tt][0][ATV_NEW_VEHICLE] += amount;

		update_assets(-amount, wt);

		account_balance += amount;
	}
/**
	 * Account purchase of new vehicle: Subtracts money, increases assets.
	 * @param amount money paid for vehicle (negative)
	 * @param wt - waytype of vehicle
	 */
Account purchase of new vehicle: Subtracts money, increases assets.
@param amount money paid for vehicle (negative)
@param wt - waytype of vehicle
Account purchase of new vehicle : Subtracts money increases assets . @param amount money paid for vehicle ( negative ) @param wt - waytype of vehicle
inline void book_new_vehicle(const sint64 amount, const waytype_t wt)
	{
		const transport_type tt = translate_waytype_to_tt(wt);
		veh_year[ tt][0][ATV_NEW_VEHICLE] += amount;
		veh_month[tt][0][ATV_NEW_VEHICLE] += amount;
		update_assets(-amount, wt);
		account_balance += amount;
	}
inline void book_new_vehicle ( const sint64 amount , const waytype_t wt ) { const transport_type tt = translate_waytype_to_tt ( wt ) ; veh_year [ tt ] [ 0 ] [ ATV_NEW_VEHICLE ] += amount ; veh_month [ tt ] [ 0 ] [ ATV_NEW_VEHICLE ] += amount ; update_assets ( - amount , wt ) ; account_balance += amount ; }
Account purchase of new vehicle: Subtracts money, increases assets.
Account purchase of new vehicle : Subtracts money increases assets .
// Note that for a new vehicle, amount is NEGATIVE // It is positive for a SALE of a vehicle