#ifndef TURRET_H
#define TURRET_H
-#include "../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(Turret, Object)
ATTRIB(Turret, m_id, int, 0)
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) */