This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
2018-08-08 21:02:47 -07:00
|
|
|
// Copyright © 2016-2017 Graham Sanderson, all rights reserved.
|
|
|
|
#include "lith_upgrades_common.h"
|
|
|
|
|
|
|
|
// Extern Functions ----------------------------------------------------------|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Update
|
|
|
|
//
|
2018-08-09 21:27:27 -07:00
|
|
|
script void Upgr_InstaDeath_Update(struct player *p, upgrade_t *upgr)
|
2018-08-08 21:02:47 -07:00
|
|
|
{
|
|
|
|
if(p->health < p->oldhealth)
|
|
|
|
InvGive("Lith_Die", 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// EOF
|
|
|
|
|