Skip to content

cl_dll: environment: Fix MsgFunc_ReceiveW#371

Merged
a1batross merged 1 commit into
Velaron:mainfrom
GLoOoccK:MsgFunc_ReceiveW
Jun 7, 2026
Merged

cl_dll: environment: Fix MsgFunc_ReceiveW#371
a1batross merged 1 commit into
Velaron:mainfrom
GLoOoccK:MsgFunc_ReceiveW

Conversation

@GLoOoccK

@GLoOoccK GLoOoccK commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

MsgFunc_ReceiveW returned early after hitting the validation guard when weather type 0 was sent, preventing the weather state from being cleared.

This validation was originally present in rain.cpp but was lost when the file was removed.

Reference:

cs16-client/cl_dll/rain.cpp

Lines 475 to 479 in 0879a46

if( iWeatherType == 0 )
{
ResetRain();
return 1;
}

@GLoOoccK

GLoOoccK commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

cc @a1batross @Vladislav4KZ

@a1batross a1batross merged commit 9905d7c into Velaron:main Jun 7, 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.

3 participants