浏览代码

Merge pull request #15211 from firefly2442/SwitchDefaultTypo

fix typo in switch statement
Noshyaar 7 年之前
父节点
当前提交
7e2941f62b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/bullet/bullet_physics_server.cpp

+ 1 - 1
modules/bullet/bullet_physics_server.cpp

@@ -121,7 +121,7 @@ RID BulletPhysicsServer::shape_create(ShapeType p_shape) {
 			shape = bulletnew(RayShapeBullet);
 		} break;
 		case SHAPE_CUSTOM:
-		defaul:
+		default:
 			ERR_FAIL_V(RID());
 			break;
 	}