Make warp surfaces use the force parameter if set (#525)

This commit is contained in:
Reonu
2022-11-03 00:25:24 +01:00
committed by GitHub
parent ab94fd7f63
commit 088dbbdd2b
3 changed files with 16 additions and 11 deletions

View File

@@ -17,6 +17,7 @@
/**
* Allows all surfaces types to have force, (doesn't require setting force, just allows it to be optional).
* Also allows you to pass a warp node to warp floors (SURFACE_WARP, SURFACE_DEATH_PLANE, SURFACE_VERTICAL_WIND) via the second byte of the force parameter.
*/
#define ALL_SURFACES_HAVE_FORCE