mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-16 08:38:07 +03:00
Fix typo in multi_source
This commit is contained in:
parent
9bfa67b54d
commit
b032bedf95
@ -251,7 +251,7 @@ void CMultiSource::Register()
|
|||||||
// search for all entities which target this multisource (pev->targetname)
|
// search for all entities which target this multisource (pev->targetname)
|
||||||
#ifdef REGAMEDLL_FIXES
|
#ifdef REGAMEDLL_FIXES
|
||||||
CBaseEntity *pTarget = nullptr;
|
CBaseEntity *pTarget = nullptr;
|
||||||
while (m_iTotal < MS_MAX_TARGETS && (pTarget = UTIL_FindEntityByTargetname(pTarget, "multi_manager"))) {
|
while (m_iTotal < MS_MAX_TARGETS && (pTarget = UTIL_FindEntityByString(pTarget, "target", STRING(pev->targetname)))) {
|
||||||
m_rgEntities[m_iTotal++] = pTarget;
|
m_rgEntities[m_iTotal++] = pTarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user