Random anomaly in spores.lua
CannonFodder100
Join Date: 2011-09-14 Member: 121355Members
In \lua\weapons\alien\spores.lua, I noticed:
---
local kTrailCinematicNames =
{
PrecacheAsset("cinematics/alien/lerk/spore_view_trail1.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail2.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail2.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail3.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail3.cinematic"),
}
---
"spore_view_trail2.cinematic" and "spore_view_trail3.cinematic" are each precached twice. Just thought I'd point it out, I'm not sure if it has any actual performance implications.
---
local kTrailCinematicNames =
{
PrecacheAsset("cinematics/alien/lerk/spore_view_trail1.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail2.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail2.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail3.cinematic"),
PrecacheAsset("cinematics/alien/lerk/spore_view_trail3.cinematic"),
}
---
"spore_view_trail2.cinematic" and "spore_view_trail3.cinematic" are each precached twice. Just thought I'd point it out, I'm not sure if it has any actual performance implications.
Comments