Add menus to Linux character editor
Patch from @x-qq
This commit is contained in:
@@ -28,13 +28,11 @@ extern rectangle name_rect;
|
||||
extern rectangle pc_race_rect;
|
||||
extern rectangle edit_rect[5];
|
||||
|
||||
bool handle_action(sf::Event event) {
|
||||
location the_point;
|
||||
bool handle_action(sf::Event const & event) {
|
||||
location the_point = translate_mouse_coordinates({event.mouseButton.x, event.mouseButton.y});
|
||||
|
||||
bool to_return = false;
|
||||
|
||||
the_point = {event.mouseButton.x, event.mouseButton.y};
|
||||
|
||||
if(file_in_mem.empty())
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user