]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
In order for the new grabbing to work, a sandbox object's owner must be set as an...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 6 Nov 2011 12:11:14 +0000 (14:11 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 6 Nov 2011 12:11:14 +0000 (14:11 +0200)
commit49c00884eac6fe9626b8875038d0095d10692d1f
tree54495263ff98d69903184dbf0139610f280e1a03
parent3ee2789202fff017f74852b4e58b7eca5025a71a
In order for the new grabbing to work, a sandbox object's owner must be set as an entity too. Therefore, scan for players each frame... and if the player with the correct UID is present on the server, it is set as the owner. Otherwise, the owner is world
qcsrc/server/mutators/sandbox.qc