]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
prints entity number of MOVETYPE_PUSH entities without models (this is mostly useful...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Apr 2006 06:45:12 +0000 (06:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Apr 2006 06:45:12 +0000 (06:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6279 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index 15ee01826271367a2ede79abe0c461280bbfa028..2797f2789ac406b117b414ee3f874f223e68f34d 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -632,13 +632,13 @@ void SV_PushMove (prvm_edict_t *pusher, float movetime)
                SV_LinkEdict (pusher, false);
                return;
        default:
-               Con_Printf("SV_PushMove: unrecognized solid type %f\n", pusher->fields.server->solid);
+               Con_Printf("SV_PushMove: entity #%i, unrecognized solid type %f\n", PRVM_NUM_FOR_EDICT(pusher), pusher->fields.server->solid);
                return;
        }
        index = (int) pusher->fields.server->modelindex;
        if (index < 1 || index >= MAX_MODELS)
        {
-               Con_Printf("SV_PushMove: invalid modelindex %f\n", pusher->fields.server->modelindex);
+               Con_Printf("SV_PushMove: entity #%i has an invalid modelindex %f\n", PRVM_NUM_FOR_EDICT(pusher), pusher->fields.server->modelindex);
                return;
        }
        pushermodel = sv.models[index];