# Code Error

**URL:** <https://discourse.cataclysmdda.org/t/code-error/5680>\
**Category:** The Garage\
**Created:** [March 31, 2014, 12:42am UTC](https://discourse.cataclysmdda.org/t/code-error/5680 "2014-03-31T00:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rog](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@Rog](https://discourse.cataclysmdda.org/u/Rog)\
**Post date:** [March 31, 2014, 12:42am UTC](https://discourse.cataclysmdda.org/t/code-error/5680/1 "2014-03-31T00:42:52Z")

</div>

Was browsing through the code and saw this, from the comments it would seem that the second has\_trait(“DOWN”) should be has\_trait(“FAT”).

player.cpp  
1047 // Down; lets heat out more easily if needed but not as Warm  
// as full-blown fur. So less miserable in Summer.  
if (has\_trait(“DOWN”))  
{  
temp\_conv[i] += (temp\_cur[i] \> BODYTEMP\_NORM ? 300 : 800);  
}  
// Fat deposits don’t hold in much heat, but don’t shift for temp  
if (has\_trait(“DOWN”))  
{  
temp\_conv[i] += (temp\_cur[i] \> BODYTEMP\_NORM ? 200 : 200);  
}

-Rog
