]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Oops, forgot to remove debugging code in the previous commit
authorterencehill <piuntn@gmail.com>
Sat, 30 Nov 2024 10:41:53 +0000 (11:41 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 30 Nov 2024 10:41:53 +0000 (11:41 +0100)
qcsrc/ecs/systems/physics.qc

index adf9067c4659dc6e78968e65589a01857dece25e..42fdb5109975f2131aef1df6f5b76903b3882d59 100644 (file)
@@ -271,9 +271,6 @@ void sys_phys_simulate(entity this, float dt)
 
        // same as wishdir = normalize(wishvel); but cheaper
        const vector wishdir = (wishvel_len ? wishvel / wishvel_len : '0 0 0');
-       vector wishdir2 = normalize(wishvel);
-       if (wishdir2 - wishdir)
-               LOG_INFOF("^x0f8 diff = %v\n", wishdir2 - wishdir);
 
        if (this.com_phys_air) {
                if (!(this.flags & FL_WATERJUMP)) {