mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 06:15:30 +03:00
Update sp/src/game/server/particle_system.cpp
Co-authored-by: samisalreadytaken <46823719+samisalreadytaken@users.noreply.github.com>
This commit is contained in:
parent
00f00b508f
commit
21407c3394
@ -264,11 +264,11 @@ void CParticleSystem::ReadControlPointEnts(void)
|
||||
for (int i = 0; i < kMAXCONTROLPOINTS; ++i)
|
||||
{
|
||||
if (UsesCoordinates()) {
|
||||
float vecCoords[3];
|
||||
Vector vecCoords;
|
||||
// cast str to vector, add vector to array
|
||||
const char* pszVector = STRING(m_iszControlPointNames[i]);
|
||||
UTIL_StringToVector(vecCoords, pszVector);
|
||||
m_vControlPointVecs.Set(i, Vector(vecCoords[0], vecCoords[1], vecCoords[2]));
|
||||
UTIL_StringToVector(vecCoords.Base(), pszVector);
|
||||
m_vControlPointVecs.Set(i, vecCoords);
|
||||
}
|
||||
else{
|
||||
if (m_iszControlPointNames[i] == NULL_STRING)
|
||||
|
Loading…
Reference in New Issue
Block a user