removed the macro VALENCE

This commit is contained in:
Zeno Rogue 2020-07-13 00:54:25 +02:00
parent 9da8dac45b
commit f36eb9ddfe
2 changed files with 2 additions and 6 deletions

View File

@ -2397,7 +2397,7 @@ void celldrawer::add_map_effects() {
}
for(int u: {-1, 1}) {
cellwalker cw = cellwalker(c, t) + wstep + u;
if(u == -1 && VALENCE == 4) continue;
if(u == -1 && valence() == 4) continue;
cell *c2 = cw.peek();
if(c2 && c2->ligon) {
int lcol = darkena(gradient(iinf[itOrbLightning].color, 0, 0, tim, 1100), 0, 0xFF);

View File

@ -196,11 +196,7 @@ void addMessage(string s, char spamtype = 0);
#define STDVAR (PURE || BITRUNCATED)
#define NONSTDVAR (!STDVAR)
#if CAP_ARCM
#define VALENCE (BITRUNCATED ? 3 : arcm::in() ? arcm::valence() : S3)
#else
#define VALENCE (BITRUNCATED ? 3 : S3)
#endif
#define VALENCE current_valence()
#define NUMWITCH 7