mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +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)
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user