Skip to content

Commit 08d6e3f

Browse files
committed
Make 41f9d19 changes more generic (world_to_screen)
1 parent c36e8c4 commit 08d6e3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎shared/sdk/Renderer.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ std::optional<Vector2f> world_to_screen_matrix(const Vector3f& world_pos) {
11941194
}
11951195

11961196
std::optional<Vector2f> world_to_screen(const Vector3f& world_pos) {
1197-
if (sdk::GameIdentity::get().is_re9()) {
1197+
if (sdk::GameIdentity::get().tdb_ver() >= 81) {
11981198
return world_to_screen_matrix(world_pos);
11991199
}
12001200

0 commit comments

Comments
 (0)