Closed Deewarz closed 7 months ago
We use C_WeakPtr here:
https://github.com/MafiaHub/MafiaMP/blob/d0d3017cae30dd854e1e50a7f0ed0ee3c560c899/code/client/src/game/streaming/entity_factory.cpp#L20
https://github.com/MafiaHub/MafiaMP/blob/d0d3017cae30dd854e1e50a7f0ed0ee3c560c899/code/client/src/game/streaming/entity_factory.cpp#L92
Probably the first one cause the crash. (when two players try to connect to the server)
The crash is fixed by changing the properties of C_WeakPtr back to public.
Probably, because the game uses C_WeakPtr under the hood.
We use C_WeakPtr here:
https://github.com/MafiaHub/MafiaMP/blob/d0d3017cae30dd854e1e50a7f0ed0ee3c560c899/code/client/src/game/streaming/entity_factory.cpp#L20
https://github.com/MafiaHub/MafiaMP/blob/d0d3017cae30dd854e1e50a7f0ed0ee3c560c899/code/client/src/game/streaming/entity_factory.cpp#L92
Probably the first one cause the crash. (when two players try to connect to the server)
The crash is fixed by changing the properties of C_WeakPtr back to public.
Probably, because the game uses C_WeakPtr under the hood.