sound/null_s.c
author tron
Tue, 25 Apr 2006 07:32:33 +0000
changeset 3657 eb28d97d3d18
parent 2189 5cdc11ffeaa4
permissions -rw-r--r--
(svn r4572) Remove vehicle_leave_tile_proc
There's exactly one implemented function (unbarring a level crossing) and one place where it can be triggered (a train leaves a level crossing)
It's a bit overkill, so just handle this one case where it can happen
/* $Id$ */

#include "../stdafx.h"
#include "../openttd.h"
#include "null_s.h"

static const char *NullSoundStart(const char * const *parm) { return NULL; }
static void NullSoundStop(void) {}

const HalSoundDriver _null_sound_driver = {
	NullSoundStart,
	NullSoundStop,
};