Use RANDOM_CLASS instead of magic number 0 for mksobj_at()

This commit is contained in:
copperwater
2022-05-27 21:42:25 -04:00
parent 5529a9af45
commit 84f4e53fde
3 changed files with 5 additions and 5 deletions

View File

@@ -1101,7 +1101,7 @@ makemaz(const char *s)
for (x = rn1(8, 11); x; x--) {
mazexy(&mm);
(void) mkobj_at(rn2(2) ? GEM_CLASS : 0, mm.x, mm.y, TRUE);
(void) mkobj_at(rn2(2) ? GEM_CLASS : RANDOM_CLASS, mm.x, mm.y, TRUE);
}
for (x = rn1(10, 2); x; x--) {
mazexy(&mm);