index 278e92a8c609e42e7af63ffea6cd3e7bf1b1672c..5283e7008751eee7805ac02aca4c6eff48534159 100644 (file)
--- a/src/game/g_triggers.pas
+++ b/src/game/g_triggers.pas
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$INCLUDE g_amodes.inc}
+{$INCLUDE ../shared/a_modes.inc}
unit g_triggers;
interface
function tr_ShotAimCheck(var Trigger: TTrigger; Obj: PObj): Boolean;
begin
+ result := false;
with Trigger do
begin
if TriggerType <> TRIGGER_SHOT then