mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
fpersmissive fixes
This commit is contained in:
+1
-1
@@ -403,7 +403,7 @@ void FX_MuzzleEffectAttached(
|
||||
KeyValues *pInitializers = pEmitter->FindKey( "initializers", true );
|
||||
|
||||
KeyValues *pPosition = pInitializers->FindKey( "DmeLinearAttachedPositionInitializer", true );
|
||||
pPosition->SetPtr( "entindex", (void*)pEnt->entindex() );
|
||||
pPosition->SetPtr( "entindex", (void*)(intp)pEnt->entindex() );
|
||||
pPosition->SetInt( "attachmentIndex", attachmentIndex );
|
||||
pPosition->SetFloat( "linearOffsetX", 2.0f * scale );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user