From: Mircea Kitsune Date: Tue, 25 Oct 2011 08:30:39 +0000 (+0300) Subject: Document the new functionality of the Drag system. X-Git-Tag: xonotic-v0.6.0~35^2~18^2~193 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c82715c24e1a4b500091b3646a78fbcee8602154;p=xonotic%2Fxonotic-data.pk3dir.git Document the new functionality of the Drag system. --- diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index e5a78a05e..93faddb3e 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -682,6 +682,13 @@ float CheatFrame() { BEGIN_CHEAT_FUNCTION(); + // Dragging can be used as either a cheat, or a tool for g_sandbox. If sv_cheats is active, + // the cheat dragging is used (unlimited pickup range and any entity can be carried), even if + // g_sandbox is enabled. Is sv_cheats is disabled but g_sandbox is not, then sandbox dragging + // is used (limited pickup range and only sandbox objects can be carried), grabbing itself + // no longer being accounted as cheating. If both sv_cheats and g_sandbox are disabled, players + // attempting to grab objects are reported as trying to cheat. + switch(0) { default: