-
Notifications
You must be signed in to change notification settings - Fork 19
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
StaticPropV10 size should be 72 #63
Comments
Thanks for reporting! |
Ah to complicate things a bit, this map is also v10 but only works with |
I checked out bspsrc and it looks like csgo is a special case, 76 for v10 and 80 for v11. edit: I hacked in a fix that checks if the bsp Version is 21, since I only plan on loading CS:S and CS:GO maps this will work for me. For a complete solution looks like it'll need to determine if the map is specifically for CS:GO, since other games with version 21 don't use the same struct |
I've used that as a workaround too, maybe we'll figure out a better way to detect CS:GO maps later. |
Cool, thanks for the update :) |
SourceUtils/SourceUtils/ValveBsp/StaticProps.cs
Line 113 in da700ca
Had some issues reading props, size here should be 72
edit: this is the map I tested with, it's using v10
https://gamebanana.com/maps/188524
The text was updated successfully, but these errors were encountered: