diff --git a/src/game/g_map.pas b/src/game/g_map.pas
index 45a3fa3ccfb5b5c0e48acc5281dd295b55d782a3..dba67ec98f1d18122f0f420a48e1db41a3cb18fe 100644 (file)
--- a/src/game/g_map.pas
+++ b/src/game/g_map.pas
with gWalls[ID] do
begin
Enabled := True;
- //g_Mark(X, Y, Width, Height, MARK_DOOR, True);
+ g_Mark(X, Y, Width, Height, MARK_DOOR, True);
if g_Game_IsServer and g_Game_IsNet then MH_SEND_PanelState(PanelType, ID);
end;
with gWalls[ID] do
begin
Enabled := False;
- //g_Mark(X, Y, Width, Height, MARK_DOOR, False);
+ g_Mark(X, Y, Width, Height, MARK_DOOR, False);
if g_Game_IsServer and g_Game_IsNet then MH_SEND_PanelState(PanelType, ID);
end;
begin
LiftType := t;
- {
g_Mark(X, Y, Width, Height, MARK_LIFT, False);
if LiftType = 0 then
g_Mark(X, Y, Width, Height, MARK_LIFTLEFT, True)
else if LiftType = 3 then
g_Mark(X, Y, Width, Height, MARK_LIFTRIGHT, True);
- }
if g_Game_IsServer and g_Game_IsNet then MH_SEND_PanelState(PanelType, ID);
end;