mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-31 22:48:48 +01:00
- Fixed oat and wat (thanks Rhade).
- Numerous social fixes (thanks Rhade, Fizban, and Amber). - Removed do_insult. - Cleaned up hedit formatting and fixed possible bug from editing a help file you can't view (thanks Rhade). - Fixed cast ' ' so it won't cast armor (thanks Rhade). --Rumble
This commit is contained in:
parent
787c392e0a
commit
f2bb44ceb1
13 changed files with 170 additions and 268 deletions
|
|
@ -542,10 +542,12 @@ ACMD(do_cast)
|
|||
}
|
||||
t = strtok(NULL, "\0");
|
||||
|
||||
skip_spaces(&s);
|
||||
|
||||
/* spellnum = search_block(s, spells, 0); */
|
||||
spellnum = find_skill_num(s);
|
||||
|
||||
if ((spellnum < 1) || (spellnum > MAX_SPELLS)) {
|
||||
if ((spellnum < 1) || (spellnum > MAX_SPELLS) || !*s) {
|
||||
send_to_char(ch, "Cast what?!?\r\n");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue