mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-21 13:39:11 +00:00
Match CScriptSpecialFunction::DeleteEmitter
Former-commit-id: e48f6478f9
This commit is contained in:
@@ -1078,12 +1078,11 @@ void CScriptSpecialFunction::ThinkPlayerInArea(float dt, CStateManager& mgr) {
|
||||
}
|
||||
}
|
||||
|
||||
void CScriptSpecialFunction::DeleteEmitter(const CSfxHandle& handle) {
|
||||
if (!handle) {
|
||||
return;
|
||||
void CScriptSpecialFunction::DeleteEmitter(CSfxHandle& handle) {
|
||||
if (handle) {
|
||||
CSfxManager::RemoveEmitter(handle);
|
||||
handle.Clear();
|
||||
}
|
||||
|
||||
CSfxManager::RemoveEmitter(handle);
|
||||
}
|
||||
|
||||
u32 CScriptSpecialFunction::GetSpecialEnding(const CStateManager& mgr) const {
|
||||
|
||||
Reference in New Issue
Block a user