-#ifndef TURRET_H
-#define TURRET_H
+#pragma once
#include <common/weapons/all.qh>
METHOD(Turret, tr_attack, void(Turret this, entity it)) {
Weapon w = this.m_weapon;
.entity weaponentity = weaponentities[0];
- w.wr_think(w, self, weaponentity, 1);
+ w.wr_think(w, it, weaponentity, 1);
}
#endif
/** (ALL) */
const int TNSF_ANIM = 128;
const int TNSF_FULL_UPDATE = 16777215;
-
-#endif