]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use EF_SELECTABLE on sandbox objects, making them turn bright when looking at them...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 29 Oct 2011 20:51:10 +0000 (23:51 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 29 Oct 2011 20:51:10 +0000 (23:51 +0300)
qcsrc/server/mutators/sandbox.qc

index 46637aab3445fb209f87309813d24e133fe92e89..97b1eb541fadb0a8d8b2127cf770225f0b02b4dc 100644 (file)
@@ -117,6 +117,7 @@ entity sandbox_ObjectSpawn(float database)
        e.skin = 0;
        e.material = string_null;
        e.touch = sandbox_ObjectFunction_Touch;
+       e.effects |= EF_SELECTABLE;
 
        if(!database)
        {