]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set the correct classname for every turret, e.g. "turret_plasma"
authorterencehill <piuntn@gmail.com>
Sun, 14 Apr 2019 12:54:44 +0000 (14:54 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 14 Apr 2019 12:54:44 +0000 (14:54 +0200)
qcsrc/common/turrets/sv_turrets.qc

index 09eed0ea597c7690a1b10b468d814749bcc60549..50a7691685f9ca7e51e4653505ff96f5ace14dd2 100644 (file)
@@ -1363,7 +1363,6 @@ bool turret_initialize(entity this, Turret tur)
        setsize(this, tur.m_mins, tur.m_maxs);
 
        this.m_id                                       = tur.m_id;
-       this.classname                          = "turret_main";
        this.active                                     = ACTIVE_ACTIVE;
        this.effects                            = EF_NODRAW;
        this.netname                            = tur.turret_name;