From: Rudolf Polzer Date: Thu, 7 Jul 2011 19:25:17 +0000 (+0200) Subject: Crylink "not a spike" error: output more detail X-Git-Tag: xonotic-v0.5.0~151^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4a6069480c3e18c35fc90ed231aff2e1f07f954d;p=xonotic%2Fxonotic-data.pk3dir.git Crylink "not a spike" error: output more detail --- diff --git a/qcsrc/server/w_crylink.qc b/qcsrc/server/w_crylink.qc index 2db4d6e84..d2284f856 100644 --- a/qcsrc/server/w_crylink.qc +++ b/qcsrc/server/w_crylink.qc @@ -17,7 +17,7 @@ void W_Crylink_CheckLinks(entity e) if(e == world) error("W_Crylink_CheckLinks: entity is world"); if(e.classname != "spike") - error("W_Crylink_CheckLinks: entity is not a spike"); + error(sprintf("W_Crylink_CheckLinks: entity is not a spike but a %s (freed: %d)", e.classname, wasfreed(e))); p = e; for(i = 0; i < 1000; ++i)