Remove a couple erroneous null-pointer assertions
This commit is contained in:
parent
d09f6ae665
commit
6e18ca4cfa
1 changed files with 0 additions and 2 deletions
|
@ -1772,7 +1772,6 @@ static void change_action_text(const char* text,Bit8u col) {
|
|||
|
||||
|
||||
static void SetActiveBind(CBind * _bind) {
|
||||
assert(_bind);
|
||||
mapper.abind=_bind;
|
||||
if (_bind) {
|
||||
bind_but.bind_title->Enable(true);
|
||||
|
@ -1796,7 +1795,6 @@ static void SetActiveBind(CBind * _bind) {
|
|||
}
|
||||
|
||||
static void SetActiveEvent(CEvent * event) {
|
||||
assert(event);
|
||||
mapper.aevent=event;
|
||||
mapper.redraw=true;
|
||||
mapper.addbind=false;
|
||||
|
|
Loading…
Add table
Reference in a new issue