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
|
@ -102,7 +102,7 @@ dist(void)
|
|||
|
||||
path = BestDistPath(buf, §, &dsect, &move_cost, MOB_ROAD);
|
||||
|
||||
if (path == (s_char *)0) {
|
||||
if (!path) {
|
||||
pr("No owned path from %s to %s.\n",
|
||||
xyas(dsect.sct_x, dsect.sct_y, player->cnum),
|
||||
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue