Commit e80d3c0
committed
fix: use type conversion instead of struct literal for NPCTagInfo (S1016)
Fixes staticcheck S1016: TagInfo and NPCTagInfo have identical fields,
so direct type conversion is cleaner than field-by-field struct literal.
https://claude.ai/code/session_01PeB1HsjEYNPSY2iqa7sqqR1 parent 5c74093 commit e80d3c0
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 79 | + | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
0 commit comments