X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fshared%2Fmapstructio.inc;h=68b46ac4167c27397b905466224f752413d66396;hp=ae432b9614f0a857f524af2fa522be8b06d8d2fa;hb=27b297c1c90cca9fe2b4e52a0af81e70e3ce4d4e;hpb=e706b4fd119a5f468477a139daa7a1ae87a9cd7e diff --git a/src/shared/mapstructio.inc b/src/shared/mapstructio.inc index ae432b9..68b46ac 100644 --- a/src/shared/mapstructio.inc +++ b/src/shared/mapstructio.inc @@ -201,7 +201,7 @@ procedure mb_Read_TriggerData (var tr: TTriggerData; ttype: Integer; const buf; getBytesAt(tr.ShotType, buf, 8, 1); getBytesAt(tr.ShotTarget, buf, 9, 1); getBytesAt(tr.ShotSound, buf, 10, 1); - getBytesAt(tr.ShotAllMap, buf, 11, 1); + getBytesAt(tr.ShotAim, buf, 11, 1); getIntAt(tr.ShotPanelID, buf, 12); getWordAt(tr.ShotIntSight, buf, 16); getWordAt(tr.ShotAngle, buf, 18); @@ -512,7 +512,7 @@ procedure mb_Write_TriggerData (var buf; bufsize: Integer; ttype: Integer; var t putBytesAt(buf, 8, tr.ShotType, 1); putBytesAt(buf, 9, tr.ShotTarget, 1); putBytesAt(buf, 10, tr.ShotSound, 1); - putBytesAt(buf, 11, tr.ShotAllMap, 1); + putBytesAt(buf, 11, tr.ShotAim, 1); putIntAt(buf, 12, tr.ShotPanelID); putWordAt(buf, 16, tr.ShotIntSight); putWordAt(buf, 18, tr.ShotAngle);