Bugzilla – Bug 3553
speech.ini limited to 64 sounds
Last modified: 2014-02-08 23:51:32 PST
Hello, When you edit line 75 in cmdmenu.sma : #define MAX_CMDS 32 You can not put a number higher than 64. Fix : Change line 90 : new g_menuSelect[33][64] With new g_menuSelect[33][MAX_CMDS]
Created attachment 2480 [details] [review] Proposed patch
Such fix has been given numerous times on the forum, and of course, works as expected.
Comment on attachment 2480 [details] [review] Proposed patch We should up MAX_CMDS to 64 at the same time, otherwise this could break config files.
Pushed changeset: http://hg.alliedmods.net/amxmodx-central/rev/e9e18a2b11da Changelog: Increase the capacity of speech.ini (bug 3553, r=dvander).
Pushed changeset: http://hg.alliedmods.net/amxmodx-central/rev/b3798f1e902e Changelog: bug 3553 follow-up fix.
Commits pushed to master at https://github.com/alliedmodders/amxmodx https://github.com/alliedmodders/amxmodx/commit/9e5b5683afd930722eb2ad98958d82932f27c299 Increase the capacity of speech.ini (bug 3553, r=dvander). Former-commit-id: d10ef5e49419251d3c841148093fb3210bc6d028 https://github.com/alliedmodders/amxmodx/commit/69c06545cedf2f3cf40de5af1138c4cdf8007392 bug 3553 follow-up fix. Former-commit-id: 65d97fe5f5bca0c3a3ba8574f7c924d8ba7dc1cd