mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 02:42:49 +00:00
<Alam_Squeeze> make: *** [../objs/Mingw/Debug/m_menu.o] Error 1
<Alam_Squeeze> s_sound.c: In function `S_StartCaption': <Alam_Squeeze> s_sound.c:416: warning: comparison of unsigned expression >= 0 is always true <Alam_Squeeze> Makefile:770: recipe for target '../objs/Mingw/Debug/s_sound.o' failed <Alam_Squeeze> make: *** [../objs/Mingw/Debug/s_sound.o] Error 1
This commit is contained in:
parent
9238b2d50f
commit
0cc838bca7
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ void S_StartCaption(sfxenum_t sfx_id, INT32 cnum, UINT16 lifespan)
|
|||
return;
|
||||
|
||||
// check for bogus sound #
|
||||
I_Assert(sfx_id >= 0); // allows sfx_None; this shouldn't be allowed directly if S_StartCaption is ever exposed to Lua by itself
|
||||
// I_Assert(sfx_id >= 0); -- allowing sfx_None; this shouldn't be allowed directly if S_StartCaption is ever exposed to Lua by itself
|
||||
I_Assert(sfx_id < NUMSFX);
|
||||
|
||||
sfx = &S_sfx[sfx_id];
|
||||
|
|
Loading…
Reference in a new issue