Move light source and timer types so zero means none

Breaks saves and bones.
This commit is contained in:
Pasi Kallinen
2024-05-06 19:52:05 +03:00
parent dba37fa768
commit 7139ee7446
5 changed files with 21 additions and 9 deletions

View File

@@ -12,8 +12,12 @@
/*
* Light source sources
*/
#define LS_OBJECT 0
#define LS_MONSTER 1
enum ls_sources {
LS_NONE = 0,
LS_OBJECT = 1,
LS_MONSTER = 2,
NUM_LS_SOURCES
};
/*
* cansee() - Returns true if the hero can see the location.