Skip to content

Commit

Permalink
added mp_randomspawn 2 for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha committed Dec 10, 2024
1 parent e884328 commit aba631a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions regamedll/dlls/bot/cs_bot_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,8 +1288,15 @@ void GetSpawnPositions()
{
totalSpawns++;
//CONSOLE_ECHO("Add spawn at x:%f y:%f z:%f with angle %0.1f slope %0.3f \n", vecOrigin.x, vecOrigin.y, vecOrigin.z, bestAngle.y, area->GetAreaSlope());
//SET_MODEL(ENT(pPoint->pev), "models/player.mdl");
//pPoint->pev->sequence = ACT_IDLE;

// use only for debugging
if (randomspawn.value > 1.0f)
{
SET_MODEL(ENT(pPoint->pev), "models/player.mdl");
pPoint->pev->sequence = ACT_IDLE;
pPoint->pev->rendermode = kRenderTransAdd;
pPoint->pev->renderamt = 150.0f;
}
}
}
}
Expand Down

0 comments on commit aba631a

Please sign in to comment.