… | |
… | |
1263 | * Handles applying a sign. |
1263 | * Handles applying a sign. |
1264 | */ |
1264 | */ |
1265 | static void |
1265 | static void |
1266 | apply_sign (object *op, object *sign, int autoapply) |
1266 | apply_sign (object *op, object *sign, int autoapply) |
1267 | { |
1267 | { |
|
|
1268 | if (!op->is_player()) |
|
|
1269 | return; |
|
|
1270 | |
1268 | if (sign->has_dialogue ()) |
1271 | if (sign->has_dialogue ()) |
1269 | { |
1272 | { |
1270 | op->statusmsg (format ("Maybe you should I<talk> to the %s instead?", &sign->name)); |
1273 | op->statusmsg (format ("Maybe you should I<talk> to the %s instead?", &sign->name)); |
1271 | return; |
1274 | return; |
1272 | } |
1275 | } |