mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 06:48:04 +03:00
Fixed a bug where menus would not work
This commit is contained in:
parent
9e99831fb2
commit
b4107e3523
@ -62,7 +62,7 @@ int MenuMngr::registerMenuId(const char* n, AMX* a )
|
|||||||
int id = findMenuId( n, a );
|
int id = findMenuId( n, a );
|
||||||
if (id) return id;
|
if (id) return id;
|
||||||
headid = new MenuIdEle( n, a , headid );
|
headid = new MenuIdEle( n, a , headid );
|
||||||
if (headid)
|
if (!headid)
|
||||||
return 0; // :TODO: Better error report
|
return 0; // :TODO: Better error report
|
||||||
return headid->id;
|
return headid->id;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user