Admer456/ioq3-burek

Nullptr crashes

Closed this issue · 3 comments

Inside SV_ClientEnterWorld, we get a crash cuz' it's using IEntity instead of gentity_t, and IEntity uses pointers and stuff.
Fix.

This probably happens because the first 64 ent slots are reserved for players, and they aren't using IEntity yet.

Modify ClientBegin to spawn IEntities.

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.