marrub
/
Lithia
Archived
1
0
Fork 0
This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
Lithia/source/Main/u_instadeath.c

17 lines
342 B
C

// Copyright © 2016-2017 Graham Sanderson, all rights reserved.
#include "lith_upgrades_common.h"
// Extern Functions ----------------------------------------------------------|
//
// Update
//
script void Upgr_InstaDeath_Update(struct player *p, upgrade_t *upgr)
{
if(p->health < p->oldhealth)
InvGive("Lith_Die", 1);
}
// EOF