Overhaul to console structure, a bit
This commit is contained in:
+3
-3
@@ -183,7 +183,7 @@ bool SV_movestep (edict_t *ent, vec3_t move, bool relink)
|
||||
if (relink)
|
||||
SV_LinkEdict (ent, true);
|
||||
ent->v.flags = (int)ent->v.flags & ~FL_ONGROUND;
|
||||
// Con_Printf ("fall down\n");
|
||||
// console::info ("fall down\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ bool SV_movestep (edict_t *ent, vec3_t move, bool relink)
|
||||
|
||||
if ( (int)ent->v.flags & FL_PARTIALGROUND )
|
||||
{
|
||||
// Con_Printf ("back on ground\n");
|
||||
// console::info ("back on ground\n");
|
||||
ent->v.flags = (int)ent->v.flags & ~FL_PARTIALGROUND;
|
||||
}
|
||||
ent->v.groundentity = EDICT_TO_PROG(trace.ent);
|
||||
@@ -269,7 +269,7 @@ SV_FixCheckBottom
|
||||
*/
|
||||
void SV_FixCheckBottom (edict_t *ent)
|
||||
{
|
||||
// Con_Printf ("SV_FixCheckBottom\n");
|
||||
// console::info ("SV_FixCheckBottom\n");
|
||||
ent->v.flags = (int)ent->v.flags | FL_PARTIALGROUND;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user