Use NULL instead of (FOO *)0, it's easier to read.
This commit is contained in:
parent
3252f8a907
commit
21bf6b41d4
23 changed files with 75 additions and 79 deletions
|
@ -78,7 +78,7 @@ terr(void)
|
|||
sprintf(prompt, "%s %d%% %s territory? ",
|
||||
xyas(nstr.x, nstr.y, player->cnum),
|
||||
sect.sct_effic, dchr[sect.sct_type].d_name);
|
||||
if ((p = getstarg((s_char *)0, prompt, buf)) == 0)
|
||||
if ((p = getstarg(NULL, prompt, buf)) == 0)
|
||||
return RET_FAIL;
|
||||
if (!check_sect_ok(§))
|
||||
return RET_FAIL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue