curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1968] [Mantis 2004] Flipped RTPs for ending/abandoning activity not in progress #116

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : dfremont

Description :

Abandoning an activity not in progress yields the RTP for ending one, and vice versa.

This is because the template functions EndActivity and AbandonActivity have RTP_CANTABANDON and RTP_CANTEND backwards.

Steps to reproduce :

Foo is a room.
When play begins, abandon the amusing a victorious player activity.
Every turn, end the amusing a victorious player activity.

Additional information :

The example above yields the following RTPs:

imported from: [Mantis 2004] Flipped RTPs for ending/abandoning activity not in progress

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by zarf :
Check.

curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

Resolved via this commit: https://github.com/ganelson/inform/commit/efe630b58e69677b5a7402b7e87bc2ab9fbcccf1