From beeafbee93a01f1ebe7a6eea2704f7786e8a946c Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 10 Jan 2013 10:24:33 +0000 Subject: [PATCH] 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 --- prvm_execprogram.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2