MCPcopy Create free account
hub / github.com/SimHacker/micropolis / getFireSeverity

Method getFireSeverity

MicropolisCore/src/MicropolisEngine/src/evaluate.cpp:351–354  ·  view source on GitHub ↗

* Compute severity of fire * @return Value representing the severity of fire problems */

Source from the content-addressed store, hash-verified

349 * @return Value representing the severity of fire problems
350 */
351short Micropolis::getFireSeverity()
352{
353 return min(firePop * 5, 255);
354}
355
356
357/**

Callers

nothing calls this directly

Calls 1

minFunction · 0.85

Tested by

no test coverage detected