mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-16 04:48:05 +01:00
Update for 3.54 release. --Rumble
This commit is contained in:
parent
9107040d32
commit
b93379190f
11 changed files with 231 additions and 185 deletions
|
|
@ -1326,12 +1326,12 @@ ACMD(do_load)
|
|||
send_to_char(ch, "Usage: load < obj | mob > <vnum> <number>\r\n");
|
||||
return;
|
||||
}
|
||||
if (!is_number(buf2) || !is_number(buf3)) {
|
||||
if (!is_number(buf2)) {
|
||||
send_to_char(ch, "That is not a number.\r\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (atoi(buf3) > 0 ) {
|
||||
if (atoi(buf3) > 0 && atoi(buf3) <= 100) {
|
||||
n = atoi(buf3);
|
||||
} else {
|
||||
n = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue