index ae432b9614f0a857f524af2fa522be8b06d8d2fa..d1198d539aadee69b5e2961350d172dcc20f6cb8 100644 (file)
begin
getWordAt(tr.DamageValue, buf, 0);
getWordAt(tr.DamageInterval, buf, 2);
+ getBytesAt(tr.DamageKind, buf, 4);
end;
procedure xreadHealth ();
@@ -495,6 +496,7 @@ procedure mb_Write_TriggerData (var buf; bufsize: Integer; ttype: Integer; var t
begin
putWordAt(buf, 0, tr.DamageValue);
putWordAt(buf, 2, tr.DamageInterval);
+ putBytesAt(buf, 4, tr.DamageKind);
end;
procedure xwriteHealth ();