Files @ r6873:011bb2269607
Branch filter:

Location: cpp/openttd-patchpack/source/src/sound/null_s.cpp

maedhros
(svn r10114) -Fix: Only load newgrf error messages if the language matches the current
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
/* $Id$ */

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

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

const HalSoundDriver _null_sound_driver = {
	NullSoundStart,
	NullSoundStop,
};