diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 8565bc42a..fa62ac2c1 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -9537,7 +9537,7 @@ scriptwait: } else { - STACK(1) = DoubleToACS(pcd == PCD_GETACTORX ? actor->X() : pcd == PCD_GETACTORY ? actor->Y() : actor->Z()); + STACK(1) = DoubleToACS(pcd == PCD_GETACTORX ? actor->X() : actor->Y()); } } break;