Skip to content

client: remove gametype check from PlayerLocation#317

Merged
a1batross merged 1 commit into
Velaron:mainfrom
yumirak:playerlocation-fix
Apr 17, 2026
Merged

client: remove gametype check from PlayerLocation#317
a1batross merged 1 commit into
Velaron:mainfrom
yumirak:playerlocation-fix

Conversation

@yumirak
Copy link
Copy Markdown
Contributor

@yumirak yumirak commented Apr 17, 2026

In original client.dll DrawPlayerLocation is drawn only when location from MsgFunc_Location can be localized.
This mean that if someone enabled zBot, using Condition Zero navigation and localization file then DrawPlayerLocation is drawn like in Condition Zero.

@a1batross
Copy link
Copy Markdown
Collaborator

I do faintly remember that player location was available in 1.6 under the radar, at least, that makes such changes somewhat accurate.

But what do you think @Vladislav4KZ?

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

@a1batross Yes, that's correct. In the original CS 1.6, location names are displayed if they are present in the localization file.

We should check whether the bug returns where ZBot tries to output the location name in voice chat when moving from one location to another, in cases where the localization file does not contain location names.

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

We should check whether the bug returns where ZBot tries to output the location name in voice chat when moving from one location to another, in cases where the localization file does not contain location names.

I just checked, and I didn't find such a bug.

So, LGTM.

@a1batross a1batross merged commit 123af8e into Velaron:main Apr 17, 2026
9 checks passed
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

Successfully merging this pull request may close these issues.

4 participants