#define PHYS_INPUT_MOVEVALUES(s) ((s).movement)
- #define PHYS_INPUT_BUTTON_BUTTON1(s) ((s).button0)
+ #define PHYS_INPUT_BUTTON_BUTTON1(s) (CS(s).button0)
#define PHYS_INPUT_BUTTON_BUTTON2(s) ((s).button2)
- #define PHYS_INPUT_BUTTON_BUTTON3(s) ((s).button3)
+ #define PHYS_INPUT_BUTTON_BUTTON3(s) (CS(s).button3)
#define PHYS_INPUT_BUTTON_BUTTON4(s) ((s).button4)
#define PHYS_INPUT_BUTTON_BUTTON5(s) ((s).button5)
#define PHYS_INPUT_BUTTON_BUTTON6(s) ((s).button6)
PLAYERDEMO_FIELD(ent,func,float,frame) \
PLAYERDEMO_FIELD(ent,func,float,effects) \
/* PLAYERDEMO_FIELD(ent,func,float,switchweapon) */ \
- PLAYERDEMO_FIELD(ent,func,float,button0) /* TODO: PHYS_INPUT_BUTTON_ATCK */ \
- PLAYERDEMO_FIELD(ent,func,float,button3) /* TODO: PHYS_INPUT_BUTTON_ATCK2 */ \
+ PLAYERDEMO_FIELD(CS(ent),func,float,button0) /* TODO: PHYS_INPUT_BUTTON_ATCK */ \
+ PLAYERDEMO_FIELD(CS(ent),func,float,button3) /* TODO: PHYS_INPUT_BUTTON_ATCK2 */ \
PLAYERDEMO_FIELD(ent,func,float,button5) /* TODO: PHYS_INPUT_BUTTON_CROUCH */ \
PLAYERDEMO_FIELD(ent,func,float,button6) /* TODO: PHYS_INPUT_BUTTON_HOOK */ \
PLAYERDEMO_FIELD(ent,func,float,buttonuse) /* TODO: PHYS_INPUT_BUTTON_USE */ \