- fixed FxFRandom setup which used a path in FxRandom that is no longer supported.

This commit is contained in:
Christoph Oelckers 2018-11-17 08:06:23 +01:00
commit e643582957
2 changed files with 15 additions and 6 deletions

View file

@ -1257,10 +1257,11 @@ public:
class FxRandom : public FxExpression
{
protected:
bool EmitTail;
bool EmitTail = false;
FRandom *rng;
FxExpression *min, *max;
FxRandom(EFxType type, FRandom * r, const FScriptPosition &pos);
public:
FxRandom(FRandom *, FxExpression *mi, FxExpression *ma, const FScriptPosition &pos, bool nowarn);