From: divverent Date: Thu, 10 Jan 2013 10:24:33 +0000 (+0000) Subject: fix a typo in the watchpoints code that warns X-Git-Tag: xonotic-v0.7.0~72 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=beeafbee93a01f1ebe7a6eea2704f7786e8a946c;p=xonotic%2Fdarkplaces.git fix a typo in the watchpoints code that warns git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11878 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=a9f3c4406131feb29a3c791598684650eedb3f75 --- diff --git a/prvm_execprogram.h b/prvm_execprogram.h index ca550df7..0c9e4f47 100644 --- a/prvm_execprogram.h +++ b/prvm_execprogram.h @@ -22,7 +22,7 @@ } if (prog->watch_field_type != ev_void && prog->watch_edict < prog->max_edicts) { - prvm_vec_t *f = PRVM_EDICTFIELDVALUE(prog->edicts + prog->watch_edict, prog->watch_field); + prvm_eval_t *f = PRVM_EDICTFIELDVALUE(prog->edicts + prog->watch_edict, prog->watch_field); prog->xstatement = st + 1 - prog->statements; PRVM_Watchpoint(prog, 1, "Entityfield watchpoint hit by engine", prog->watch_field_type, &prog->watch_edictfield_value, f); } @@ -712,7 +712,7 @@ } if (prog->watch_field_type != ev_void && prog->watch_edict < prog->max_edicts) { - prvm_vec_t *f = PRVM_EDICTFIELDVALUE(prog->edicts + prog->watch_edict, prog->watch_field); + prvm_eval_t *f = PRVM_EDICTFIELDVALUE(prog->edicts + prog->watch_edict, prog->watch_field); prog->xstatement = st - prog->statements; PRVM_Watchpoint(prog, 0, "Entityfield watchpoint hit", prog->watch_field_type, &prog->watch_edictfield_value, f); }