fix
This commit is contained in:
@@ -16,10 +16,12 @@ GLOBAL_VAR_INIT(glide_size_multiplier, 1.0)
|
||||
#define DELAY_TO_GLIDE_SIZE(delay) (clamp(((32 / max((delay) / world.tick_lag, 1)) * GLOB.glide_size_multiplier), MIN_GLIDE_SIZE, MAX_GLIDE_SIZE))
|
||||
|
||||
/// Enables smooth movement
|
||||
#define SMOOTH_MOVEMENT
|
||||
#ifndef SMOOTH_MOVEMENT
|
||||
#define SMOOTH_MOVEMENT TRUE
|
||||
#endif
|
||||
|
||||
/// Set appearance flags in vars
|
||||
#ifdef SMOOTH_MOVEMENT
|
||||
#if SMOOTH_MOVEMENT
|
||||
#define SET_APPEARANCE_FLAGS(flags) appearance_flags = (flags | LONG_GLIDE)
|
||||
#else
|
||||
#define SET_APPEARANCE_FLAGS(flags) appearance_flags = flags
|
||||
|
||||
Reference in New Issue
Block a user