Commit Diff


commit - 9a0497ff1c0c15dcb7b27fa7964b3b1e4dacc6b1
commit + 19fc5ad595c28a17c9eed3f697e8a47ca68538d0
blob - ca1f2eddf1325baf4c86dc8dfc289159f74f338a
blob + ce8f0523d4a8e176004e6ab46f7776e4dc522dfb
--- inventory.c
+++ inventory.c
@@ -15,7 +15,7 @@ move_object(struct param *par, struct object *from, st
 		printf("There is nobody here to give that to.\n");
 	else if (obj == to)
 		printf("What's the meaning of putting a %s inside itself?\n",
-			obj->tags[0]);
+			par->tag);
 	else if (from != obj->location) {
 		/* give the appropriate error message */
 		switch (dist) {