ZoneCodeGenerator: Fix invalid string commands for PhysConstraints and DestructibleDef

This commit is contained in:
Jan 2019-11-10 22:14:36 +01:00
parent 73424c9bc1
commit 3839b22f71

View File

@ -73,10 +73,11 @@ set count pieces numpieces;
set string PhysPreset::name; set string PhysPreset::name;
// ========================================= // =========================================
// PhysConstraint // PhysConstraints
// ========================================= // =========================================
set string PhysConstraints::name;
use PhysConstraint; use PhysConstraint;
set string name;
set scriptstring targetname; set scriptstring targetname;
set scriptstring target_ent1; set scriptstring target_ent1;
set scriptstring target_ent2; set scriptstring target_ent2;
@ -84,8 +85,9 @@ set scriptstring target_ent2;
// ========================================= // =========================================
// DestructibleDef // DestructibleDef
// ========================================= // =========================================
use DestructibleDef;
set string name; set string name;
set count DestructibleDef::pieces numPieces; set count pieces numPieces;
// DestructiblePiece // DestructiblePiece
set scriptstring DestructiblePiece::enableLabel; set scriptstring DestructiblePiece::enableLabel;