Advertisement
MageKing17

sexp.cpp.patch

Mar 17th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.79 KB | None | 0 0
  1. Index: code/parse/sexp.cpp
  2. ===================================================================
  3. --- code/parse/sexp.cpp (revision 11284)
  4. +++ code/parse/sexp.cpp (working copy)
  5. @@ -33360,8 +33360,7 @@
  6.                 fputs("<dl>", fp);
  7.                 for(z = 0; z < Num_operators; z++)
  8.                 {
  9. -                   if((get_category(Operators[z].value) == op_menu[x].id)
  10. -                       && (get_subcategory(Operators[z].value) != -1)
  11. +                   if((get_subcategory(Operators[z].value) != -1)
  12.                         && (get_subcategory(Operators[z].value) == op_submenu[y].id))
  13.                     {
  14.                         output_sexp_html(z, fp);
  15. @@ -33384,7 +33383,8 @@
  16.     }
  17.     for(z = 0; z < Num_operators; z++)
  18.     {
  19. -       if(!get_category(Operators[z].value))
  20. +       if(!get_category(Operators[z].value)
  21. +           && (get_subcategory(Operators[z].value) == -1))
  22.         {
  23.             output_sexp_html(z, fp);
  24.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement