Ticket #45627

V_RADIUS() getting same effect value thrice

Eröffnet am: 2022-09-10 04:28 Letztes Update: 2022-09-10 04:28

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

E.g. unit_refresh_vision() has:

V_RADIUS(get_unit_vision_at(punit, utile, V_MAIN), get_unit_vision_at(punit, utile, V_INVIS), get_unit_vision_at(punit, utile, V_SUBSURFACE));

e.g. get_unit_vision_at() gets called three times for the same unit and tile. Each call check the same EFT_UNIT_VISION_RADIUS_SQ effects, which are not affected by the layer at all (we don't have a vision layer requirement).

Ticket-Verlauf (1/1 Historien)

2022-09-10 04:28 Aktualisiert von: cazfi
  • New Ticket "V_RADIUS() getting same effect value thrice" created

Dateianhangliste

Keine Anhänge

Bearbeiten

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