Skip to content

Commit 7ae3dc5

Browse files
micvbangmarkus-wa
authored andcommitted
packet_handlers: fix grenade y/z position mixup.
1 parent 1b35074 commit 7ae3dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packet_handlers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ func (p *Parser) handleGameEvent(ge *msg.CSVCMsg_GameEvent) {
252252
thrower := p.connectedPlayers[int(data["userid"].GetValShort())]
253253
position := r3.Vector{
254254
X: float64(data["x"].ValFloat),
255-
Z: float64(data["y"].ValFloat),
256-
Y: float64(data["z"].ValFloat),
255+
Y: float64(data["y"].ValFloat),
256+
Z: float64(data["z"].ValFloat),
257257
}
258258

259259
switch d.Name {

0 commit comments

Comments
 (0)