diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas
index 40b8e4ed43f29f851d7dd9abf6e50ff2f258cff4..2c540aad0a617fc7c2c51f3bc8060e7e4d057861 100644 (file)
--- a/src/game/g_basic.pas
+++ b/src/game/g_basic.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_basic;
interface
end;
function g_CollideLevel(X, Y: Integer; Width, Height: Word): Boolean;
+begin
+ result := g_Map_CollidePanel(X, Y, Width, Height, (PANEL_WALL or PANEL_CLOSEDOOR or PANEL_OPENDOOR), false);
+end;
+(*
var
a: Integer;
begin
Exit;
end;
end;
+*)
function g_CollidePlayer(X, Y: Integer; Width, Height: Word): Boolean;
var