]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/debug.qh
Merge branch 'master' into Mirio/balance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / debug.qh
index e20139aacc95acf1c3825e339a45302ad19b1c75..9aca8e774c34a669cf3439f6656914c703b7a0a3 100644 (file)
@@ -116,7 +116,7 @@ bool autocvar_debugdraw;
 //                                             if (it.maxs) break;
 //                                             if (it.size) break;
 //                                             if (it.touch) break;
-//                                             if (it.use1) break;
+//                                             if (it.use) break;
 //                                             if (it.think) break;
 //                                             if (it.blocked) break;
 //                                             if (it.nextthink) break;
@@ -142,7 +142,7 @@ bool autocvar_debugdraw;
                                if (pos.z < 0) continue;
                                pos.z = 0;
                                pos.y += ofs * sz;
-                               drawcolorcodedstring2(pos,
+                               drawcolorcodedstring2_builtin(pos,
                                        sprintf("%d: '%s'@%s", (it.debug ? it.sv_entnum : etof(it)),
                                        it.classname, it.sourceLoc),
                                        sz * '1 1 0', rgb, 0.5, DRAWFLAG_NORMAL);