home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove redundant uses of NULL.
[plomrogue]
/
src
/
server
/
god_commands.c
diff --git
a/src/server/god_commands.c
b/src/server/god_commands.c
index 09aeecec624d60e48d0703478c0f46787d550968..420142a92d830eb5eaeb6ce13d25822d1b438466 100644
(file)
--- a/
src/server/god_commands.c
+++ b/
src/server/god_commands.c
@@
-301,7
+301,7
@@
static uint8_t parse_thing_manipulation_1arg(char * tok0, char * tok1)
{
t = get_thing(world.things, id, 1);
char * err = "No thing type found to initialize new thing.";
{
t = get_thing(world.things, id, 1);
char * err = "No thing type found to initialize new thing.";
- if (!t && !err_line(
NULL ==
world.thing_types, err))
+ if (!t && !err_line(
!
world.thing_types, err))
{
t = add_thing(id, world.thing_types->id, 0, 0);
if (world.exists && t->lifepoints)
{
t = add_thing(id, world.thing_types->id, 0, 0);
if (world.exists && t->lifepoints)