]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an unclear comment about copyentity
authorMario <mario.mario@y7mail.com>
Sat, 7 Jan 2023 08:21:53 +0000 (18:21 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 7 Jan 2023 08:21:53 +0000 (18:21 +1000)
qcsrc/server/weapons/spawning.qc

index b14579e24e3bbae667b168caa110e2b7ad7fdd81..5376924b8404e2c19606a06d8ed5bf3d4f84cee5 100644 (file)
@@ -61,7 +61,6 @@ void weapon_defaultspawnfunc(entity this, Weapon wpn)
                                {
                                        entity replacement = spawn();
                                        Item_CopyFields(this, replacement);
-                                       // copyentity is an engine function which unintentionally copies intrusive list data
                                        // DO NOTE USE, causes #2792
                                        //copyentity(this, replacement);
                                        replacement.m_isreplaced = true;