Minor changes

This commit is contained in:
Jackz 2023-04-29 23:26:24 -05:00
parent df0d2da42b
commit 98ec7a34fa
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -112,6 +112,7 @@ bool ProcessSpecialQueue() {
// BypassLimit(); // BypassLimit();
int tank = L4D2_SpawnTank(spActiveRequest.position, spActiveRequest.angle); int tank = L4D2_SpawnTank(spActiveRequest.position, spActiveRequest.angle);
if(tank > 0 && IsClientConnected(tank)) { if(tank > 0 && IsClientConnected(tank)) {
TeleportEntity(tank, spActiveRequest.position, spActiveRequest.angle, NULL_VECTOR);
PrintToConsoleAll("[ftt/debug] requested tank spawned %d -> %N", tank, target) PrintToConsoleAll("[ftt/debug] requested tank spawned %d -> %N", tank, target)
pdata[tank].attackerTargetUid = spActiveRequest.targetUserId; pdata[tank].attackerTargetUid = spActiveRequest.targetUserId;
pdata[tank].specialAttackFlags = view_as<int>(SPI_AlwaysTarget); pdata[tank].specialAttackFlags = view_as<int>(SPI_AlwaysTarget);
@ -159,6 +160,7 @@ float GetIdealMinDistance(SpecialType specialType) {
// /*Boomer*/ case 2: return 1200.0; // /*Boomer*/ case 2: return 1200.0;
case Special_Charger: return 19510.0; case Special_Charger: return 19510.0;
case Special_Smoker: return 20000.0; case Special_Smoker: return 20000.0;
case Special_Tank: return 20000.0;
case Special_Spitter: return 15000.0; case Special_Spitter: return 15000.0;
default: default:
return 12000.0; return 12000.0;

View file

@ -715,8 +715,6 @@ public Action Timer_DropSurvivor(Handle h, int client) {
hMinPlayers.IntValue = --abmExtraCount; hMinPlayers.IntValue = --abmExtraCount;
if(hMinPlayers.IntValue < 4) { if(hMinPlayers.IntValue < 4) {
hMinPlayers.IntValue = 4; hMinPlayers.IntValue = 4;
PrintToConsoleAll("[EPI!!] hMinPlayers dropped below 4. This is a bug, please report to jackz.");
PrintToServer("[EPI!!] hMinPlayers dropped below 4. This is a bug, please report to jackz.");
} }
} }
DropDroppedInventories(); DropDroppedInventories();