mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-10 00:20:27 -04:00
better use double wield and fix bugs
This commit is contained in:
parent
33fa026576
commit
ce3e42f66b
14 changed files with 199 additions and 81 deletions
|
@ -365,6 +365,7 @@ static char display_game_status(void)
|
|||
void unaffect();
|
||||
extern char immortality;
|
||||
extern char nohassle;
|
||||
extern char pass_all_mobs;
|
||||
|
||||
|
||||
static char console_input_line[console_max_characters+1] = "";
|
||||
|
@ -494,6 +495,10 @@ static int process_on_off_command(const char *cmd, char on) {
|
|||
game_extras = on?(game_extras | EX_WALKDIAGONAL):(game_extras & ~EX_WALKDIAGONAL);
|
||||
return 1;
|
||||
}
|
||||
if (stricmp(cmd, "ghost-form") == 0) {
|
||||
pass_all_mobs = on;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue