mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-22 23:24:56 -04:00
fix some asan crashes
This commit is contained in:
parent
0e251dcd05
commit
e2fb5b9910
8 changed files with 54 additions and 19 deletions
|
@ -2249,7 +2249,7 @@ static void fast_inv_action(void) {
|
|||
int x = ms_last_event.x;
|
||||
int y = ms_last_event.y;
|
||||
const T_CLK_MAP *item = find_in_click_map_entry(x, y, clk_inv_view, CLK_INV_VIEW, MS_EVENT_MOUSE_LPRESS);
|
||||
if (item->proc == &uloz_sip) {
|
||||
if (item && item->proc == &uloz_sip) {
|
||||
uloz_sip_action(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue