mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Added nohassle check for scuba
This commit is contained in:
parent
8a72cfcb39
commit
4c590644a5
2 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,8 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
|||
(lots of major bugfixes too)
|
||||
@
|
||||
tbaMUD 3.61
|
||||
[Jan 18 2010] - Fizban
|
||||
Edited scuba check so immortals with nohassle on don't need one.
|
||||
[Jan 18 2010] - Rumble
|
||||
Fixed bad AFF_SCUBA check for underwater rooms.
|
||||
[Dec 28 2009] - Rumble
|
||||
|
|
|
@ -197,7 +197,7 @@ int do_simple_move(struct char_data *ch, int dir, int need_specials_check)
|
|||
/* Underwater Room: Does lack of underwater breathing prevent movement? */
|
||||
if ((SECT(was_in) == SECT_UNDERWATER) || (SECT(going_to) == SECT_UNDERWATER))
|
||||
{
|
||||
if (!has_scuba(ch)) {
|
||||
if (!has_scuba(ch) && !PRF_FLAGGED(ch, PRF_NOHASSLE)) {
|
||||
send_to_char(ch, "You need to be able to breathe water to go there!\r\n");
|
||||
return (0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue