- ed = PROG_TO_EDICT(pr_global_struct->self);
- ed->v->nextthink = pr_global_struct->time + 0.1;
- ed->v->frame = OPA->_float;
- ed->v->think = OPB->function;
+ pr_xfunction->profile += profile - startprofile;
+ startprofile = profile;
+ pr_xstatement = st - pr_statements;
+ ed = PRVM_PROG_TO_EDICT(prog->globals.server->self);
+ ed->fields.server->nextthink = prog->globals.server->time + 0.1;
+ ed->fields.server->frame = OPA->_float;
+ ed->fields.server->think = OPB->function;