Fixed bug where invalid keys were saved as blank translations

Fixed bug where dictionary caches were invalidated before being used
Loads with MM 5:11 now
This commit is contained in:
David Anderson
2006-02-06 11:13:27 +00:00
parent 458f2acfe7
commit e2c1b8c178
6 changed files with 118 additions and 18 deletions

View File

@@ -682,7 +682,7 @@ static cell AMX_NATIVE_CALL player_menu_info(AMX *amx, cell *params)
*m = player->menu;
*n = player->newmenu;
if ( (*m != 0 && *m != -1) && (*n != 0 && *n != -1))
if ( (*m != 0 && *m != -1) || (*n != -1))
return 1;
return 0;