mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-01-11 20:06:54 -05:00
removed all 'deadcode' lint errors (#840)
This commit is contained in:
parent
49c1985dcc
commit
37235282e0
@ -820,7 +820,8 @@ func (i *Item) Identify() *Item {
|
||||
return i
|
||||
}
|
||||
|
||||
// from a string table
|
||||
// string table keys
|
||||
// nolint:deadcode,unused,varcheck // WIP
|
||||
const (
|
||||
reqNotMet = "ItemStats1a" // "Requirements not met",
|
||||
unidentified = "ItemStats1b" // "Unidentified",
|
||||
|
@ -7,11 +7,6 @@ import (
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2txt"
|
||||
)
|
||||
|
||||
const (
|
||||
nameSize = 32
|
||||
tokenSize = 20
|
||||
)
|
||||
|
||||
// LoadObjectTypes loads ObjectTypeRecords from objtype.txt
|
||||
func objectTypesLoader(r *RecordManager, d *d2txt.DataDictionary) error {
|
||||
records := make(ObjectTypes, 0)
|
||||
|
@ -25,7 +25,7 @@ import (
|
||||
|
||||
const (
|
||||
port = "6669"
|
||||
chunkSize int = 4096
|
||||
chunkSize int = 4096 // nolint:deadcode,unused,varcheck // WIP
|
||||
subtilesPerTile = 5
|
||||
middleOfTileOffset = 3
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user