diff options
Diffstat (limited to 'classes/userCmdInfo.go')
| -rw-r--r-- | classes/userCmdInfo.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/userCmdInfo.go b/classes/userCmdInfo.go index 55a8546..d2de229 100644 --- a/classes/userCmdInfo.go +++ b/classes/userCmdInfo.go | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | package classes | 1 | package classes |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "fmt" | ||
| 5 | |||
| 4 | "github.com/bisaxa/demoparser/utils" | 6 | "github.com/bisaxa/demoparser/utils" |
| 5 | ) | 7 | ) |
| 6 | 8 | ||
| @@ -29,8 +31,8 @@ func UserCmdInfoInit(byteArr []byte, size int32) (output UserCmdInfo) { | |||
| 29 | failedCount := 0 | 31 | failedCount := 0 |
| 30 | looped := 0 | 32 | looped := 0 |
| 31 | classIndex := 0 | 33 | classIndex := 0 |
| 32 | // fmt.Println(byteArr) | 34 | //fmt.Println(byteArr) |
| 33 | // fmt.Printf("%08b", byteArr) | 35 | fmt.Printf("%08b\n", byteArr) |
| 34 | for i := 0; i < 9; i++ { | 36 | for i := 0; i < 9; i++ { |
| 35 | if successCount+failedCount > 7 { | 37 | if successCount+failedCount > 7 { |
| 36 | failedCount = -successCount | 38 | failedCount = -successCount |