]> granicus.if.org Git - nethack/commitdiff
lua.adoc typo
authorPatR <rankin@nethack.org>
Sun, 19 Apr 2020 22:42:32 +0000 (15:42 -0700)
committerPatR <rankin@nethack.org>
Sun, 19 Apr 2020 22:42:32 +0000 (15:42 -0700)
"not-cursed" was misspelled.

doc/lua.adoc
src/sp_lev.c

index 7f9ecb038979f294bba857678d5cbb533ca1549c..27da21ed9b7871bc5bda72c9d053d4980f0923af 100644 (file)
@@ -423,7 +423,9 @@ Create an object. The table parameter accepts the following:
 | id          | string   | Specific object type name
 | class       | string   | Single character, object class
 | spe         | int      | obj-struct spe-field value. See table below. Also accepts "random".
-| buc         | string   | one of "random", "blessed", "uncursed", "cursed", "not-curse", "not-uncursed", "not-blessed". Default is "random"
+| buc         | string   | one of "random", "blessed", "uncursed", "cursed",
+                           "not-cursed", "not-uncursed", "not-blessed".
+                           Default is "random"
 | name        | string   | Object name
 | quantity    | int      | Number of items in this stack. Also accepts "random".
 | buried      | boolean  | Is the object buried?
index a99dc540dc2f47fd0388b7e7a520434f9e574123..79fb5bbfbd65999ce6d48229adbea801e315e139 100755 (executable)
@@ -2171,7 +2171,7 @@ struct mkroom *croom;
         unbless(otmp);
         break;
     default: /* random */
-        break; /* keept what mkobj gave us */
+        break; /* keep what mkobj gave us */
     }
 
     /* corpsenm is "empty" if -1, random if -2, otherwise specific */