CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.67k stars 4.18k forks source link

Poured item has no defined temperature #31775

Closed KorGgenT closed 5 years ago

KorGgenT commented 5 years ago

image

This makes whatever container with liquid you pour it into become frozen.

steps to reproduce: Unload a container with clean water in it from the ground into a canteen you're wearing.

Pulled from latest master.

Hirmuolio commented 5 years ago

I can't reproduce on build 9211.

This happend on CDDA you built yourself? Can you reproduce on a build downloaded from releases or with a launcher?

I recently tested a self built CDDA and noticed a really strange bug that could cause this kind of thing. Containers on ground with food in them would never get their temperatures processed. This only happened on the version I built and never happened on downloaded build. If the container was in inventory it would behave normally but the container on ground didn't get processed at all. I used visual studio 2019 to build. (maybe some default setting somewhere somehow does something)

Spawn food in container (liquid for example) and drop it instantly. Use debug mode to look at it. The item should spawn with -10 specific energy and that value should update after one turn. If the food stays at -10 specific energy then it is not getting processed for some strange reason.

Most likely same issue as #30449

KorGgenT commented 5 years ago

yes, this happened on a version i built with VS2019. i will try to get around to testing it on a release version then.

KorGgenT commented 5 years ago

ok, i'll close this as it's a duplicate.