mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed parser for state block options.
- fixed incorrect flags for weapons.
This commit is contained in:
parent
7bcd83f0c1
commit
c797319314
2 changed files with 1 additions and 2 deletions
|
@ -421,7 +421,6 @@ enumerator(X) ::= IDENTIFIER(A) EQ expr(B). /* Expression must be constant. */
|
|||
%type states_opts { ZCC_Identifier *}
|
||||
%type states_opt { ZCC_Identifier *}
|
||||
|
||||
states_def(X) ::= STATES(T) scanner_mode LBRACE states_body(A) RBRACE.
|
||||
states_def(X) ::= STATES(T) states_opts(B) scanner_mode LBRACE states_body(A) RBRACE.
|
||||
{
|
||||
NEW_AST_NODE(States,def,T);
|
||||
|
|
|
@ -469,7 +469,7 @@ class Weapon : StateProvider native
|
|||
Weapon.BobRangeX 1.0;
|
||||
Weapon.BobRangeY 1.0;
|
||||
+WEAPONSPAWN
|
||||
DefaultStateUsage SUF_ACTOR|SUF_OVERLAY|SUF_ITEM;
|
||||
DefaultStateUsage SUF_ACTOR|SUF_OVERLAY|SUF_WEAPON;
|
||||
}
|
||||
States
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue