mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 11:00:38 +02:00
Quake 4 related bug fixes.
This commit is contained in:
@@ -1388,7 +1388,7 @@ idSoundWorldLocal::EmitterForIndex
|
||||
===================
|
||||
*/
|
||||
idSoundEmitter *idSoundWorldLocal::EmitterForIndex( int index ) {
|
||||
if ( index == 0 ) {
|
||||
if ( index <= 0 ) {
|
||||
return NULL;
|
||||
}
|
||||
if ( index >= emitters.Num() ) {
|
||||
|
||||
Reference in New Issue
Block a user