Sometimes I wonder why MSVC neglects to provide useful warnings. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4722 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-11-02 05:38:57 +00:00
parent 4186c89aed
commit 764f77d1cd

View file

@ -142,7 +142,7 @@ int32_t VM_OnEvent_(int32_t iEventID, int32_t iActor, int32_t iPlayer, int32_t l
int32_t backupEventExec = g_currentEventExec;
intptr_t *oinsptr=insptr;
if ((unsigned)iActor >= Numsprites)
if ((unsigned)iActor >= (unsigned)Numsprites)
{
static spritetype dummy_sprite;
static int32_t dummy_t[ARRAY_SIZE(actor[0].t_data)];