mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-22 09:40:46 +00:00
Bugfixed probe indices when changing maps
This commit is contained in:
parent
288359067b
commit
6736b288e5
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ void R_DeriveEnvprobeData( RenderEnvprobeLocal* probe )
|
|||
|
||||
idStr fullname;
|
||||
|
||||
int probeIndex = probe->world->envprobeDefs.Num() - 1;
|
||||
int probeIndex = probe->index;// ->world->envprobeDefs.Num() - 1;
|
||||
|
||||
// TODO get preconvolved cubemaps
|
||||
fullname.Format( "env/%s/envprobe%i_amb", basename.c_str(), probeIndex );
|
||||
|
|
Loading…
Reference in a new issue