mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +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;
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue