diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas
index 88670fdb5a59ccf102cfa252b8ff235e816020d3..ca4630ed2023d55edc648994e9021a736d8b9b53 100644 (file)
--- a/src/game/g_weapons.pas
+++ b/src/game/g_weapons.pas
if playerPossibleHit() then exit; // instant hit
// collect monsters
- g_Mons_alongLine(x, y, x2, y2, sqchecker);
+ g_Mons_AlongLine(x, y, x2, y2, sqchecker);
// here, we collected all monsters and players in `wgunHitHeap` and `wgunHitTime`
// also, if `wallWasHit` is `true`, then `wallHitX` and `wallHitY` contains spark coords