aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 3df816c..d84785a 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -701,8 +701,8 @@ namespace QuickMedia {
}
bool instant_move = body_size_changed;
- if(target_y_set == TargetSetState::SET) {
- target_y_set = TargetSetState::APPLIED;
+ if(target_set == TargetSetState::SET) {
+ target_set = TargetSetState::APPLIED;
instant_move = true;
}
@@ -941,8 +941,8 @@ namespace QuickMedia {
if(item_index == selected_item) {
item_background_target_pos = pos;
item_background_target_size = sf::Vector2f(item_width, item_height);
- if(target_y_set == TargetSetState::NOT_SET)
- target_y_set = TargetSetState::SET;
+ if(target_set == TargetSetState::NOT_SET)
+ target_set = TargetSetState::SET;
}
}