parallax_togs and AO fix (#3693)

changes:

parallax_togs now actually gets read from the database instead of just written. Whoops.
AO on turfs adjacent to AO-deny turfs should no longer consider those turfs as AO neighbors.
This commit is contained in:
Lohikar
2017-10-17 22:02:27 +03:00
committed by Erki
parent 0c20bc5c50
commit dcf6bba66d
3 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#ifdef AO_USE_LIGHTING_OPACITY
#define AO_TURF_CHECK(T) (!T.has_opaque_atom)
#define AO_TURF_CHECK(T) (!T.has_opaque_atom || !T.permit_ao)
#else
#define AO_TURF_CHECK(T) (!T.density || !T.opacity)
#define AO_TURF_CHECK(T) (!T.density || !T.opacity || !T.permit_ao)
#endif
/turf
@@ -31,7 +31,9 @@
"toggles",
"asfx_togs",
"lastmotd" = "motd_hash",
"lastmemo" = "memo_hash"
"lastmemo" = "memo_hash",
"parallax_toggles" = "parallax_togs",
"parallax_speed"
),
"args" = list("ckey")
)