summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
Diffstat (limited to 'core/config')
-rw-r--r--core/config/engine.cpp4
-rw-r--r--core/config/engine.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/config/engine.cpp b/core/config/engine.cpp
index 3ffd8ee46b..495670bc88 100644
--- a/core/config/engine.cpp
+++ b/core/config/engine.cpp
@@ -37,12 +37,12 @@
#include "core/version.h"
#include "core/version_hash.gen.h"
-void Engine::set_iterations_per_second(int p_ips) {
+void Engine::set_physics_ticks_per_second(int p_ips) {
ERR_FAIL_COND_MSG(p_ips <= 0, "Engine iterations per second must be greater than 0.");
ips = p_ips;
}
-int Engine::get_iterations_per_second() const {
+int Engine::get_physics_ticks_per_second() const {
return ips;
}
diff --git a/core/config/engine.h b/core/config/engine.h
index 3b3e5825b2..e6b5df2d5a 100644
--- a/core/config/engine.h
+++ b/core/config/engine.h
@@ -78,8 +78,8 @@ private:
public:
static Engine *get_singleton();
- virtual void set_iterations_per_second(int p_ips);
- virtual int get_iterations_per_second() const;
+ virtual void set_physics_ticks_per_second(int p_ips);
+ virtual int get_physics_ticks_per_second() const;
void set_physics_jitter_fix(double p_threshold);
double get_physics_jitter_fix() const;