* Converts unit to another faction (original faction is still stored). * @param f faction. */
| 2346 | * @param f faction. |
| 2347 | */ |
| 2348 | void BattleUnit::convertToFaction(UnitFaction f) |
| 2349 | { |
| 2350 | _faction = f; |
| 2351 | } |
| 2352 | |
| 2353 | /** |
| 2354 | * Set health to 0 and set status dead - used when getting zombified. |