Beispiel #1
0
/*
=================
UI_Keydown
=================
*/
void UI_Keydown (int key)
{
	const char *s;

	if (m_keyfunc)
		if ( ( s = m_keyfunc( key ) ) != 0 )
			S_StartLocalSound( ( char * ) s );
}
Beispiel #2
0
/*
* UI_Keydown
*/
void UI_Keydown( int key )
{
	const char *s;

	m_keypressed = key;

	if( m_keyfunc )
		if( ( s = m_keyfunc( key ) ) != 0 )
			trap_S_StartLocalSound( s );
}