allow SKY to be lightmapped (seems to be this way in vanilla maps)
This commit is contained in:
parent
2b0a04a188
commit
951464f52b
|
|
@ -718,7 +718,7 @@ struct gamedef_q2_t : public gamedef_t
|
|||
max_entity_key = 256;
|
||||
}
|
||||
|
||||
bool surf_is_lightmapped(const surfflags_t &flags) const override { return !(flags.native & (Q2_SURF_NODRAW | Q2_SURF_SKY)); }
|
||||
bool surf_is_lightmapped(const surfflags_t &flags) const override { return !(flags.native & (Q2_SURF_NODRAW | Q2_SURF_SKIP)); }
|
||||
|
||||
bool surf_is_subdivided(const surfflags_t &flags) const override { return !(flags.native & Q2_SURF_SKY); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue