X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_panel.pas;h=96bd7f1817f333246c470eea1933052bf2c2df83;hb=674a902ed6e62076ad4bafc2b8f74d181f6bf287;hp=ab996040406168f29ced2f9c131f576d080b86fd;hpb=10658b989ac4e02b2cb4264351675d8da6d8311b;p=d2df-sdl.git diff --git a/src/game/g_panel.pas b/src/game/g_panel.pas index ab99604..96bd7f1 100644 --- a/src/game/g_panel.pas +++ b/src/game/g_panel.pas @@ -59,8 +59,9 @@ type Moved: Boolean; LiftType: Byte; LastAnimLoop: Byte; - ArrIdx: Integer; // index in one of internal arrays; sorry + arrIdx: Integer; // index in one of internal arrays; sorry tag: Integer; // used in coldets and such; sorry + proxyId: Integer; // proxy id in map grid (DO NOT USE!) constructor Create(PanelRec: TPanelRec_1; AddTextures: TAddTextureArray; @@ -269,7 +270,7 @@ var NoTextureID: DWORD; NW, NH: Word; begin - if Enabled and (FCurTexture >= 0) and + if {Enabled and} (FCurTexture >= 0) and (Width > 0) and (Height > 0) and (FAlpha < 255) and g_Collide(X, Y, Width, Height, sX, sY, sWidth, sHeight) then