mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
Fix randvar
git-svn-id: https://svn.eduke32.com/eduke32@221 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f5e728ab22
commit
d395f8050d
1 changed files with 2 additions and 2 deletions
|
@ -5984,7 +5984,7 @@ good:
|
||||||
int i;
|
int i;
|
||||||
insptr++;
|
insptr++;
|
||||||
i=*insptr++; // ID of def
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5993,7 +5993,7 @@ good:
|
||||||
int i;
|
int i;
|
||||||
insptr++;
|
insptr++;
|
||||||
i=*insptr++; // ID of def
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue