X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fserver%2Fgod_commands.c;h=420142a92d830eb5eaeb6ce13d25822d1b438466;hb=58486c337a7b1f04311801d902fed41ed3f67315;hp=09aeecec624d60e48d0703478c0f46787d550968;hpb=3dedf6344c941891491773d1cc5d647aa664b218;p=plomrogue
diff --git a/src/server/god_commands.c b/src/server/god_commands.c
index 09aeece..420142a 100644
--- 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.";
- 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)