- uninitialized local variable

This commit is contained in:
Christoph Oelckers 2020-05-14 22:14:44 +02:00
parent 44b8053404
commit 53f1db9b85

View file

@ -1039,7 +1039,7 @@ void checkhitwall_r(int spr, int dawallnum, int x, int y, int z, int atwith)
s = &sprite[jj];
if (s->lotag == 6)
{
for (j = 0; j < 16; j++) RANDOMSCRAP(s, i);
for (j = 0; j < 16; j++) RANDOMSCRAP(s, -1);
g_spriteExtra[jj]++; // TRANSITIONAL move to sprite or actor
if (g_spriteExtra[jj] == 25)
{