From 011459790f9f3421b80a4f78f5c92baaddafa7ae Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Thu, 23 Aug 2018 22:18:52 +0100
Subject: [PATCH] Add INFLIVES as a constant that Lua/SOC can use

---
 src/dehacked.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/dehacked.c b/src/dehacked.c
index 76a65fcc2f..127b367c80 100644
--- a/src/dehacked.c
+++ b/src/dehacked.c
@@ -7610,6 +7610,9 @@ struct {
 	{"WEP_RAIL",WEP_RAIL},
 	{"NUM_WEAPONS",NUM_WEAPONS},
 
+	// Value for infinite lives
+	{"INFLIVES", INFLIVES},
+
 	// Got Flags, for player->gotflag!
 	// Used to be MF_ for some stupid reason, now they're GF_ to stop them looking like mobjflags
 	{"GF_REDFLAG",GF_REDFLAG},
-- 
GitLab