Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tank outline still visible after said person died as a tank #156

Open
JuicyKaiser opened this issue Apr 26, 2024 · 1 comment
Open

Tank outline still visible after said person died as a tank #156

JuicyKaiser opened this issue Apr 26, 2024 · 1 comment

Comments

@JuicyKaiser
Copy link

Will get footage and perhaps figure out more conditions as to why this is happening. My initial assumption was that this occurred when the tank died without killing anyone and respawned immediately, causing the outline not to update in time.

I have noticed that there is no class set after tank death. Maybe that is causing the issue at hand.

if (g_iDamageDealtLife[iVictim] <= 50 && g_iDamageTakenLife[iVictim] <= 150 && !g_bTankRefreshed)
{
g_bTankRefreshed = true;
Classes_SetClient(iVictim, Infected_None);
ZombieTank();
}

@Tiagoquix
Copy link
Contributor

I can confirm this happens. Here is a screenshot:

Untitled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants