fokkonaut / F-DDrace

F-DDrace is a server-side modification of Teeworlds, developed by fokkonaut.
Other
12 stars 15 forks source link

Jump indicator HUD shows -1 jump sometimes when affected by rainbowname #299

Closed fokkonaut closed 1 month ago

fokkonaut commented 1 month ago

https://github.com/fokkonaut/F-DDrace/blob/bf331b8de4950be428788c03e2c2cc01e7032a68/src/game/server/entities/character.cpp#L2094-L2095

This is the line where the spectating player's info gets inserted into our ddnetchar, dunno why it's not working correctly

fokkonaut commented 1 month ago

Probably the client predicting it is grounded and theirfore taking that info about "itself" which will modify this. Maybe sending jumpedtotal-1 works, or smth