ソースを参照

Fix delta passed in _physics_process

Regression due to typo in recent GDVIRTUAL_CALL change.
PouleyKetchoupp 4 年 前
コミット
cbce1550ff
1 ファイル変更1 行追加1 行削除
  1. 1 1
      scene/main/node.cpp

+ 1 - 1
scene/main/node.cpp

@@ -58,7 +58,7 @@ void Node::_notification(int p_notification) {
 
 		} break;
 		case NOTIFICATION_PHYSICS_PROCESS: {
-			GDVIRTUAL_CALL(_physics_process, get_process_delta_time());
+			GDVIRTUAL_CALL(_physics_process, get_physics_process_delta_time());
 
 		} break;
 		case NOTIFICATION_ENTER_TREE: {