rtx: read _xvk_radius instead of radius in patch files to disambiguate, fix #259
This commit is contained in:
parent
4becafc02c
commit
f9fc8fd2f2
|
@ -181,8 +181,8 @@ static void fillLightFromProps( vk_light_entity_t *le, const entity_props_t *pro
|
|||
VectorSet(le->color, 300, 300, 300);
|
||||
}
|
||||
|
||||
if (have_fields & Field_radius) {
|
||||
le->radius = props->radius;
|
||||
if (have_fields & Field__xvk_radius) {
|
||||
le->radius = props->_xvk_radius;
|
||||
}
|
||||
|
||||
if (have_fields & Field_style) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
X(13, int, _xvk_surface_id, Int) \
|
||||
X(14, string, _xvk_texture, String) \
|
||||
X(15, int, _xvk_ent_id, Int) \
|
||||
X(16, float, radius, Float) \
|
||||
X(16, float, _xvk_radius, Float) \
|
||||
|
||||
typedef enum {
|
||||
Unknown = 0,
|
||||
|
|
Loading…
Reference in New Issue