Merge remote-tracking branch 'remotes/origin/weapon_scriptification' into asmjit
# Conflicts: # src/g_inventory/a_pickups.cpp
This commit is contained in:
commit
a0c0e8bdfe
96 changed files with 4828 additions and 4759 deletions
|
|
@ -494,14 +494,9 @@ void S_PrecacheLevel ()
|
|||
{
|
||||
IFVIRTUALPTR(actor, AActor, MarkPrecacheSounds)
|
||||
{
|
||||
// Without the type cast this picks the 'void *' assignment...
|
||||
VMValue params[1] = { actor };
|
||||
VMCall(func, params, 1, nullptr, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
actor->MarkPrecacheSounds();
|
||||
}
|
||||
}
|
||||
for (auto snd : gameinfo.PrecachedSounds)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue