Skip to content

Commit b86a239

Browse files
committed
fix access to damage
1 parent 8e4649f commit b86a239

File tree

1 file changed

+1
-1
lines changed
  • sample_projects/cancer_biorobots/custom_modules

1 file changed

+1
-1
lines changed

sample_projects/cancer_biorobots/custom_modules/custom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ void tumor_cell_phenotype_with_therapy( Cell* pCell, Phenotype& phenotype, doubl
553553
temp /= max_damage; // dt*(damage/max_damage)*death_rate
554554

555555
// make sure we write the damage (not current a behavior)
556-
pCell->state.damage = damage;
556+
pCell->phenotype.cell_integrity.damage = damage;
557557

558558
if( UniformRandom() <= temp )
559559
{

0 commit comments

Comments
 (0)