mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Removed the positive-only ripper level requirement.
- Several mods were able to just take advantage of A_SetRipperLevel and the likes, essentially bypassing this gate so there really is no point in doing this anymore.
This commit is contained in:
parent
76c5ff29fe
commit
1383355be7
1 changed files with 0 additions and 12 deletions
|
@ -1576,10 +1576,6 @@ DEFINE_PROPERTY(telefogdesttype, S, Actor)
|
||||||
DEFINE_PROPERTY(ripperlevel, I, Actor)
|
DEFINE_PROPERTY(ripperlevel, I, Actor)
|
||||||
{
|
{
|
||||||
PROP_INT_PARM(id, 0);
|
PROP_INT_PARM(id, 0);
|
||||||
if (id < 0)
|
|
||||||
{
|
|
||||||
I_Error ("RipperLevel must not be negative");
|
|
||||||
}
|
|
||||||
defaults->RipperLevel = id;
|
defaults->RipperLevel = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1589,10 +1585,6 @@ DEFINE_PROPERTY(ripperlevel, I, Actor)
|
||||||
DEFINE_PROPERTY(riplevelmin, I, Actor)
|
DEFINE_PROPERTY(riplevelmin, I, Actor)
|
||||||
{
|
{
|
||||||
PROP_INT_PARM(id, 0);
|
PROP_INT_PARM(id, 0);
|
||||||
if (id < 0)
|
|
||||||
{
|
|
||||||
I_Error ("RipLevelMin must not be negative");
|
|
||||||
}
|
|
||||||
defaults->RipLevelMin = id;
|
defaults->RipLevelMin = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1602,10 +1594,6 @@ DEFINE_PROPERTY(riplevelmin, I, Actor)
|
||||||
DEFINE_PROPERTY(riplevelmax, I, Actor)
|
DEFINE_PROPERTY(riplevelmax, I, Actor)
|
||||||
{
|
{
|
||||||
PROP_INT_PARM(id, 0);
|
PROP_INT_PARM(id, 0);
|
||||||
if (id < 0)
|
|
||||||
{
|
|
||||||
I_Error ("RipLevelMax must not be negative");
|
|
||||||
}
|
|
||||||
defaults->RipLevelMax = id;
|
defaults->RipLevelMax = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue