File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1994,7 +1994,7 @@ type NetConnection struct {
19941994 st NetState
19951995 sendEnd chan bool
19961996 recvEnd chan bool
1997- buf [MaxSimul * 2 ]NetBuffer // We skip attached characters here because they never have human inputs
1997+ buf [MaxSimul * 2 ]NetBuffer // We skip attached characters here because they never have human inputs
19981998 locIn int
19991999 remIn int
20002000 time int32
@@ -2430,7 +2430,7 @@ func (nc *NetConnection) Update() bool {
24302430 // Write inputs to replay file
24312431 if nc .recording != nil {
24322432 for i := range nc .buf {
2433- ringIdx := nc .time & (NETBUF_NUM_FRAMES - 1 )
2433+ ringIdx := nc .time & (NETBUF_NUM_FRAMES - 1 )
24342434 binary .Write (nc .recording , binary .LittleEndian , & nc .buf [i ].buf [ringIdx ])
24352435 binary .Write (nc .recording , binary .LittleEndian , & nc .buf [i ].axisBuf [ringIdx ])
24362436 }
@@ -2459,8 +2459,8 @@ func (nc *NetConnection) Update() bool {
24592459
24602460type ReplayFile struct {
24612461 file * os.File
2462- ibit [MaxSimul * 2 ]InputBits
2463- iaxes [MaxSimul * 2 ][6 ]int8
2462+ ibit [MaxSimul * 2 ]InputBits
2463+ iaxes [MaxSimul * 2 ][6 ]int8
24642464 preMatchTime int32
24652465}
24662466
You can’t perform that action at this time.
0 commit comments