Merge branch 'master' into jgrpp-nrt
# Conflicts: # src/fontcache.cpp # src/game/game_text.cpp # src/lang/korean.txt # src/os/macosx/crashlog_osx.cpp # src/os/windows/crashlog_win.cpp # src/station_cmd.cpp # src/viewport.cpp
This commit is contained in:
@@ -1010,7 +1010,7 @@ struct SpriteAlignerWindow : Window {
|
||||
this->offs_start_map.Insert(this->current_sprite, XyOffs(spr->x_offs, spr->y_offs));
|
||||
}
|
||||
switch (widget) {
|
||||
/* Move ten units at a time if ctrl is pressed. */
|
||||
/* Move eight units at a time if ctrl is pressed. */
|
||||
case WID_SA_UP: spr->y_offs -= _ctrl_pressed ? 8 : 1; break;
|
||||
case WID_SA_DOWN: spr->y_offs += _ctrl_pressed ? 8 : 1; break;
|
||||
case WID_SA_LEFT: spr->x_offs -= _ctrl_pressed ? 8 : 1; break;
|
||||
@@ -1024,7 +1024,7 @@ struct SpriteAlignerWindow : Window {
|
||||
|
||||
case WID_SA_RESET_REL:
|
||||
/* Reset the starting offsets for the current sprite. */
|
||||
this->offs_start_map.erase(this->offs_start_map.begin() + this->current_sprite);
|
||||
this->offs_start_map.Erase(this->current_sprite);
|
||||
this->SetDirty();
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user