@@ -976,6 +976,14 @@ func (c *Compiler) explod(is IniSection, sc *StateControllerBase,
976976 explod_redirectid , VT_Int , 1 , false ); err != nil {
977977 return err
978978 }
979+ if err := c .paramValue (is , sc , "animplayerno" ,
980+ explod_animplayerno , VT_Int , 1 , false ); err != nil {
981+ return err
982+ }
983+ if err := c .paramValue (is , sc , "spriteplayerno" ,
984+ explod_spriteplayerno , VT_Int , 1 , false ); err != nil {
985+ return err
986+ }
979987 if err := c .stateParam (is , "anim" , false , func (data string ) error {
980988 prefix := c .getDataPrefix (& data , false )
981989 return c .scAdd (sc , explod_anim , data , VT_Int , 1 ,
@@ -998,14 +1006,6 @@ func (c *Compiler) explod(is IniSection, sc *StateControllerBase,
9981006 explod_animelemtime , VT_Int , 1 , false ); err != nil {
9991007 return err
10001008 }
1001- if err := c .paramValue (is , sc , "animplayerno" ,
1002- explod_animplayerno , VT_Int , 1 , false ); err != nil {
1003- return err
1004- }
1005- if err := c .paramValue (is , sc , "spriteplayerno" ,
1006- explod_spriteplayerno , VT_Int , 1 , false ); err != nil {
1007- return err
1008- }
10091009 if err := c .paramValue (is , sc , "animfreeze" ,
10101010 explod_animfreeze , VT_Bool , 1 , false ); err != nil {
10111011 return err
@@ -1055,6 +1055,14 @@ func (c *Compiler) modifyExplod(is IniSection, sc *StateControllerBase,
10551055 if err := c .explodSub (is , sc ); err != nil {
10561056 return err
10571057 }
1058+ if err := c .paramValue (is , sc , "animplayerno" ,
1059+ explod_animplayerno , VT_Int , 1 , false ); err != nil {
1060+ return err
1061+ }
1062+ if err := c .paramValue (is , sc , "spriteplayerno" ,
1063+ explod_spriteplayerno , VT_Int , 1 , false ); err != nil {
1064+ return err
1065+ }
10581066 if err := c .stateParam (is , "anim" , false , func (data string ) error {
10591067 prefix := c .getDataPrefix (& data , false )
10601068 return c .scAdd (sc , explod_anim , data , VT_Int , 1 ,
@@ -1070,14 +1078,6 @@ func (c *Compiler) modifyExplod(is IniSection, sc *StateControllerBase,
10701078 explod_animelemtime , VT_Int , 1 , false ); err != nil {
10711079 return err
10721080 }
1073- if err := c .paramValue (is , sc , "animplayerno" ,
1074- explod_animplayerno , VT_Int , 1 , false ); err != nil {
1075- return err
1076- }
1077- if err := c .paramValue (is , sc , "spriteplayerno" ,
1078- explod_spriteplayerno , VT_Int , 1 , false ); err != nil {
1079- return err
1080- }
10811081 if err := c .paramValue (is , sc , "animfreeze" ,
10821082 explod_animfreeze , VT_Bool , 1 , false ); err != nil {
10831083 return err
0 commit comments