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

Frozen effect model might result in error when the player model's path is too long #115

Closed
naydef opened this issue Apr 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@naydef
Copy link

naydef commented Apr 25, 2024

Diff in frozen.sp:

@@ -116,7 +116,7 @@ void Frozen_ApplyPerk(const int client, const Perk perk)
 	// on a better frame. 0.2s from initialization seems like a good time.
 	Cache[client].Delay(0.2, Frozen_ApplyPost);
 
-	char sClientModel[64], sValueBuffer[8];
+	char sClientModel[PLATFORM_MAX_PATH], sValueBuffer[8];
 	float fPos[3], fAng[3];
 	GetClientAbsOrigin(client, fPos);
 	GetClientAbsAngles(client, fAng);
@naydef naydef added the bug Something isn't working label Apr 25, 2024
@Phil25
Copy link
Owner

Phil25 commented May 1, 2024

Fixed in 2.5.5, thanks for spotting this.

@Phil25 Phil25 closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants