-
-
Notifications
You must be signed in to change notification settings - Fork 505
Fix setPedControlState is aborted when ped created #3916
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
Fix setPedControlState is aborted when ped created #3916
Conversation
|
And why did you de-static these values intead of moving the reset out of that constructor or doing that once? |
Don't other peds need their own 'scriptedStates'? Does this only apply to the local player? |
|
We have two functions Every |
…X/mtasa-blue into bugfix/controlstate_static
Done |
Fix #1201 and probably #3867
The bug is caused by
m_sScriptedStatesbeing static, which led to the variable being reset by theCClientPadconstructor after creating a pedmtasa-blue/Client/mods/deathmatch/logic/CClientPad.cpp
Lines 120 to 125 in e831f62