diff options
Diffstat (limited to 'src/serverenvironment.h')
| -rw-r--r-- | src/serverenvironment.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h index 4eb7ab22a..5c4b23f40 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -95,7 +95,8 @@ struct LoadingBlockModifierDef virtual ~LoadingBlockModifierDef() = default; - virtual void trigger(ServerEnvironment *env, v3s16 p, MapNode n){}; + virtual void trigger(ServerEnvironment *env, v3s16 p, + MapNode n, float dtime_s) {}; }; struct LBMContentMapping @@ -129,7 +130,8 @@ public: std::string createIntroductionTimesString(); // Don't call this before loadIntroductionTimes() ran. - void applyLBMs(ServerEnvironment *env, MapBlock *block, u32 stamp); + void applyLBMs(ServerEnvironment *env, MapBlock *block, + u32 stamp, float dtime_s); // Warning: do not make this std::unordered_map, order is relevant here typedef std::map<u32, LBMContentMapping> lbm_lookup_map; |
