Nullptr crashes
Closed this issue · 3 comments
Admer456 commented
Inside SV_ClientEnterWorld
, we get a crash cuz' it's using IEntity instead of gentity_t, and IEntity uses pointers and stuff.
Fix.
Admer456 commented
This probably happens because the first 64 ent slots are reserved for players, and they aren't using IEntity yet.
Admer456 commented
Modify ClientBegin
to spawn IEntities.
Admer456 commented
A'ight, this stuff seems to have been solved now.
The engine no longer crashes due to nullptr clients, a good chunk of the client logic is now in the new entity system. At least, hopefully.