]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update the state of the randomly chosen entity in teamed item groups before it is...
authorMario <mario@smbclan.net>
Sat, 4 Mar 2017 16:30:52 +0000 (02:30 +1000)
committerMario <mario@smbclan.net>
Sat, 4 Mar 2017 16:30:52 +0000 (02:30 +1000)
qcsrc/common/t_items.qc

index c8e08bbcc7306fcf6decdef1f88a7b7dfea4d120..a90b424c951a1f4a43e738aeda21d1e659a704a5 100644 (file)
@@ -873,7 +873,7 @@ LABEL(pickup)
                                }
                        });
                        e = RandomSelection_chosen_ent;
-
+                       Item_Show(e, 1); // reset its state so it is visible (extra sendflags doesn't matter, this happens anyway)
                }
                else
                        e = this;