… | |
… | |
1043 | if (checkdm (op, op->name, (params ? params : "*"), op->contr->ns->host)) |
1043 | if (checkdm (op, op->name, (params ? params : "*"), op->contr->ns->host)) |
1044 | { |
1044 | { |
1045 | SET_FLAG (op, FLAG_WIZ); |
1045 | SET_FLAG (op, FLAG_WIZ); |
1046 | SET_FLAG (op, FLAG_WIZPASS); |
1046 | SET_FLAG (op, FLAG_WIZPASS); |
1047 | SET_FLAG (op, FLAG_WIZCAST); |
1047 | SET_FLAG (op, FLAG_WIZCAST); |
|
|
1048 | SET_FLAG (op, FLAG_WIZLOOK); |
1048 | |
1049 | |
1049 | new_draw_info (NDI_UNIQUE, 0, op, "Ok, you are the Dungeon Master!"); |
1050 | new_draw_info (NDI_UNIQUE, 0, op, "Ok, you are the Dungeon Master!"); |
1050 | /* |
|
|
1051 | * Remove setting flying here - that won't work, because next |
|
|
1052 | * fix_player() is called that will get cleared - proper solution |
|
|
1053 | * is probably something like a wiz_force which gives that and any |
|
|
1054 | * other desired abilities. |
|
|
1055 | */ |
|
|
1056 | op->contr->clear_los (0); |
|
|
1057 | op->contr->write_buf[0] = '\0'; |
1051 | op->contr->write_buf[0] = '\0'; |
1058 | |
1052 | |
1059 | if (!silent) |
1053 | if (!silent) |
1060 | new_draw_info (NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL, "The Dungeon Master has arrived!"); |
1054 | new_draw_info (NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL, "The Dungeon Master has arrived!"); |
1061 | |
1055 | |