From 174dbe472eee9540e69ed55b2976791c7e9f8bf8 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 14 Sep 2009 14:02:08 +0000 Subject: [PATCH] fixes compilation error. git-svn-id: https://svn.eduke32.com/eduke32@1495 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/m32vars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/m32vars.c b/polymer/eduke32/source/m32vars.c index 21e615958..63c8bfb44 100644 --- a/polymer/eduke32/source/m32vars.c +++ b/polymer/eduke32/source/m32vars.c @@ -217,7 +217,7 @@ int32_t __fastcall Gv_GetVarN(register int32_t id) // 'N' for "no side-effects" if (id & (0xFFFFFFFF-(MAXGAMEVARS-1))) { - OSD_Printf(CON_ERROR "Gv_GetVarN(): invalid var index %d\n",g_errorLineNum,keyw[g_tw],index); + OSD_Printf(CON_ERROR "Gv_GetVarN(): invalid var index %d\n",g_errorLineNum,keyw[g_tw],id); vm.g_errorFlag = 1; return -1; }