]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a code typo
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 27 Oct 2011 14:32:08 +0000 (17:32 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 27 Oct 2011 14:32:08 +0000 (17:32 +0300)
qcsrc/server/mutators/sandbox.qc

index 3665ec1494931eacdfe028028b3b6770f480aab7..557e58f18126bebe38316e9d5643171759672e58 100644 (file)
@@ -98,7 +98,7 @@ void sandbox_AttachObject_Remove(entity e)
        {
                if(head.owner == e)
                {
-                       head.movetype = e.old_movetype; // revert to previous physics
+                       head.movetype = head.old_movetype; // revert to previous physics
                        head.solid = SOLID_BBOX;
                        head.takedamage = DAMAGE_AIM;