mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
Clamped r_maxparticles to the internal limit
This commit is contained in:
parent
409525cde6
commit
fe52f98459
1 changed files with 3 additions and 1 deletions
|
@ -132,6 +132,8 @@ CUSTOM_CVAR( Int, r_maxparticles, 4000, CVAR_ARCHIVE )
|
|||
{
|
||||
if ( self == 0 )
|
||||
self = 4000;
|
||||
else if (self > 65535)
|
||||
self = 65535;
|
||||
else if (self < 100)
|
||||
self = 100;
|
||||
|
||||
|
|
Loading…
Reference in a new issue