Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#734 Fix for findnext bug introduced by me. #735

Merged
merged 1 commit into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/help.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MUCK Reference Manual for Muck2.2fb7.10
MUCK Reference Manual for Muck2.2fb7.21
by Revar Desmera <[email protected]>

You may get a listing of topics that you can get help on, either sorted
Expand Down
7 changes: 5 additions & 2 deletions docs/man.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MUF Reference Manual for Muck2.2fb7.10
MUF Reference Manual for Muck2.2fb7.21
by Revar Desmera <[email protected]>

You may get a listing of topics that you can get help on, either sorted
Expand Down Expand Up @@ -5015,7 +5015,10 @@ NEWROOM
NEWROOM (d s -- d)

Takes the dbref of the parent and the name of the room. It returns the
dbref of the created room. Owner is the person running the program.
dbref of the created room. Owner is the person running the program. If d is
#-1, then it becomes the first ABODE room down the environment tree from
the current room, or the default room parent.

Can only create one object per program run, if under Mucker Level 3.
~
~
Expand Down
2 changes: 1 addition & 1 deletion docs/mpihelp.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MPI Reference Manual for Muck2.2fb7.10
MPI Reference Manual for Muck2.2fb7.21
by Revar Desmera <[email protected]>

You may get a listing of topics that you can get help on, either sorted
Expand Down
5 changes: 4 additions & 1 deletion docs/mufman.html
Original file line number Diff line number Diff line change
Expand Up @@ -7950,7 +7950,10 @@ <h3 id="newroom">NEWROOM (d s -- d)
<br>
</h3>
Takes the dbref of the parent and the name of the room. It returns the
dbref of the created room. Owner is the person running the program.
dbref of the created room. Owner is the person running the program. If d is
#-1, then it becomes the first ABODE room down the environment tree from
the current room, or the default room parent.

Can only create one object per program run, if under Mucker Level 3.
<!-- HTML_TOPICEND -->

Expand Down
4 changes: 2 additions & 2 deletions src/p_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -2525,8 +2525,8 @@ prim_findnext(PRIM_PROTOTYPE)
abort_interp("Expected string argument. (3)");
}

if (!valid_player(oper2)) {
abort_interp("Expected player argument. (2)");
if (oper2->data.objref != NOTHING && !valid_player(oper2)) {
abort_interp("Expected player argument or #-1. (2)");
}

if (!valid_object(oper1) && oper1->data.objref != NOTHING) {
Expand Down
Loading