]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_impulse.qc
A couple of tweaks (don't do fall damage tests if player entity isn't moving, don...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_impulse.qc
index 23ecb44c7e6b4ff4e012939182edf3f53554ebe9..517ee3796100c028220a10e0842d64d9f675e7ce 100644 (file)
@@ -373,7 +373,7 @@ void ImpulseCommands(entity this)
 
 IMPULSE(use)
 {
-       PlayerUseKey();
+       PlayerUseKey(this);
 }
 
 IMPULSE(waypoint_personal_here)
@@ -554,7 +554,7 @@ IMPULSE(navwaypoint_unreachable)
        for (entity e = findchain(classname, "info_player_deathmatch"); e; e = e.chain)
        {
                vector org = e.origin;
-               tracebox(e.origin, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), e.origin - '0 0 512', MOVE_NOMONSTERS, world);
+               tracebox(e.origin, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), e.origin - '0 0 512', MOVE_NOMONSTERS, NULL);
                setorigin(e, trace_endpos);
                if (navigation_findnearestwaypoint(e, false))
                {