diff options
Diffstat (limited to 'src/client/hotKey.c')
| -rw-r--r-- | src/client/hotKey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/hotKey.c b/src/client/hotKey.c index b09b344..5471101 100644 --- a/src/client/hotKey.c +++ b/src/client/hotKey.c @@ -78,7 +78,7 @@ void hot_key_unregister(SDLKey key) hotkey = findHotkey(key); if (hotkey == NULL) { - assert(!_("[Error] Unregistering not registered hotkey")); + fatal("Unregistering not registered hotkey"); } my_index = list_search(listHotKey, hotkey); @@ -93,7 +93,7 @@ void hot_key_enable(SDLKey key) hotkey = findHotkey(key); if (hotkey == NULL) { - assert(!_("[Error] Enabling not registered hotkey")); + fatal("Enabling not registered hotkey"); } lastActive = timer_get_current_time(); @@ -107,7 +107,7 @@ void hot_key_disable(SDLKey key) hotkey = findHotkey(key); if (hotkey == NULL) { - assert(!_("[Error] Disabling not registered hotkey")); + fatal("Disabling not registered hotkey"); } lastActive = timer_get_current_time(); |