aboutsummaryrefslogtreecommitdiff
path: root/classes/userCmdInfo.go
diff options
context:
space:
mode:
authorBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-09-07 17:56:21 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:35 +0300
commitf2bee7b519108115a63ca1cf6ef1ae5906daec72 (patch)
tree72ccf3bd1c55c6fbc1ae247040a6ce68d0d9c3b1 /classes/userCmdInfo.go
parentusercmdinfo buttons complete (diff)
downloadsdp.go-f2bee7b519108115a63ca1cf6ef1ae5906daec72.tar.gz
sdp.go-f2bee7b519108115a63ca1cf6ef1ae5906daec72.tar.bz2
sdp.go-f2bee7b519108115a63ca1cf6ef1ae5906daec72.zip
final commit before rewrite
Diffstat (limited to 'classes/userCmdInfo.go')
-rw-r--r--classes/userCmdInfo.go6
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 @@
1package classes 1package classes
2 2
3import ( 3import (
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