Incidencia #41102

Fixed some descrepancies in sector information for newly connected clients

Abrir Fecha: 2021-01-04 05:01 Última actualización: 2021-01-11 05:36

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Accepted
Fichero:
2

Details

With this patch, the server now only sends information about a sector to newly connected clients if their current values are different from the saved values, not when they're different from the default values (e.g. 0.0 for texture offsets, or 1.0 for texture scale). The fixes the floor alignment issues reported in: https://zandronum.com/tracker/view.php?id=3582

Ticket History (3/6 Histories)

2021-01-04 05:01 Updated by: akmdm
  • New Ticket "Fixed some descrepancies in sector information for newly connected clients" created
2021-01-04 06:09 Updated by: torr_samaho
Comentario

Thanks for the patch! Looks very good, I just noticed a related problem due to your static_cast<signed> casts: I think instead of casting the results of GetAngle, we should change SavedCeilingAngle and SavedFloorAngle in sector_t to angle_t.

2021-01-11 04:32 Updated by: akmdm
Comentario

I made revisions to the previous patch. The data types of SavedCeilingAngle and SavedFloorAngle have been changed to angle_t, so now those static_cast<signed> calls are no longer needed.

2021-01-11 05:36 Updated by: torr_samaho
  • Resolución Update from Ninguno to Accepted
  • Estado Update from Open to Cerrado
Comentario

Thanks! I added your updated patch.

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar