player.h rev. 1.9 changed struct player member argp to char *. The
changeset failed to adapt some s_char * operands. Fix.
This commit is contained in:
parent
6fdbf215d0
commit
24a07cd249
9 changed files with 15 additions and 15 deletions
|
@ -178,7 +178,7 @@ mission(void)
|
|||
y = 0;
|
||||
}
|
||||
|
||||
if (player->argp[5] != (s_char *)0) {
|
||||
if (player->argp[5] != NULL) {
|
||||
desired_radius = atoi(player->argp[5]);
|
||||
if (desired_radius < 0) {
|
||||
pr("Radius must be greater than zero!\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue