Fix randvar

git-svn-id: https://svn.eduke32.com/eduke32@221 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-07-15 00:18:36 +00:00
parent f5e728ab22
commit d395f8050d

View file

@ -5984,7 +5984,7 @@ good:
int i;
insptr++;
i=*insptr++; // ID of def
SetGameVarID(i, mulscale(krand(), *insptr++, 16), g_i, g_p );
SetGameVarID(i, mulscale(krand(), *(insptr++)+1, 16), g_i, g_p );
break;
}
@ -5993,7 +5993,7 @@ good:
int i;
insptr++;
i=*insptr++; // ID of def
SetGameVarID(i, mulscale(rand(), *insptr++, 15), g_i, g_p );
SetGameVarID(i, mulscale(rand(), *(insptr++)+1, 15), g_i, g_p );
break;
}