DEADSOFTWARE

more particle control options
[d2df-sdl.git] / src / game / g_map.pas
index 45a3fa3ccfb5b5c0e48acc5281dd295b55d782a3..dba67ec98f1d18122f0f420a48e1db41a3cb18fe 100644 (file)
@@ -2439,7 +2439,7 @@ begin
   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;
@@ -2450,7 +2450,7 @@ begin
   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;
@@ -2493,7 +2493,6 @@ begin
   begin
     LiftType := t;
 
-    {
     g_Mark(X, Y, Width, Height, MARK_LIFT, False);
 
     if LiftType = 0 then
@@ -2504,7 +2503,6 @@ begin
       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;