Back to the Vavoom Forum Archives
Crimson Wizard
Janis Legzdinsh
Crimson Wizard
Janis Legzdinsh
I was able to pass this restriction by a trick - using a pointer. Created a structure, that contains all my prog specific player attributes, and added to Player class both structure variable itself and a pointer to this structure. The pointer is sent to client (and structure - is not, ofcourse).It's O.K. for single player, but it will crash multiplayer. If you project is ment for single player only, then it's fine.
Crimson Wizard
Janis Legzdinsh
Crimson Wizard
The 'cl->pclass' variable is not working. It is always equal to PCLASS_FIGHTER for some reason.Is it ok? Or maybe it is a bug?
Janis Legzdinsh