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
|
@ -413,7 +413,7 @@ comm_bomb(struct emp_qelem *list, struct sctstr *target)
|
|||
pr("some %s\n", ip->i_name);
|
||||
}
|
||||
for (;;) {
|
||||
ip = whatitem((s_char *)0, "commodity to bomb? ");
|
||||
ip = whatitem(NULL, "commodity to bomb? ");
|
||||
if (player->aborted)
|
||||
return;
|
||||
if (!ip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue