mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 23:54:35 +00:00
Fix assert
This commit is contained in:
parent
19ab774dc8
commit
a64ebc720b
1 changed files with 1 additions and 1 deletions
|
@ -1849,7 +1849,7 @@ ExpVal FxRandomPick::EvalExpression(AActor *self)
|
||||||
val.Type = VAL_Float;
|
val.Type = VAL_Float;
|
||||||
val.Float = (*rng)(0x40000000) / double(0x40000000);
|
val.Float = (*rng)(0x40000000) / double(0x40000000);
|
||||||
}
|
}
|
||||||
assert(val.Type == ValueType);
|
assert(val.Type == ValueType.Type);
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue