Fix dPnt struct (#2361)

* Fix dPnt struct

* Fix Vec warning
This commit is contained in:
LagoLunatic
2025-03-30 18:45:59 -04:00
committed by GitHub
parent 7ac9c97e33
commit a87e831b18
38 changed files with 82 additions and 80 deletions
+1 -1
View File
@@ -956,7 +956,7 @@ void daB_DS_c::mCreateTrap(bool param_0) {
dPath* path = dPath_GetRoomPath(3, fopAcM_GetRoomNo(this));
if (path != NULL) {
dStage_dPnt_c& point = path->m_points[trap_create_id];
dPnt& point = path->m_points[trap_create_id];
pos = point.m_position;
vec = pos - current.pos;
if (vec.abs() <= 200.0f) {