fuzzball-muck / fuzzball

Ongoing development of the Fuzzball MUCK server software and associated functionality.
Other
46 stars 26 forks source link

Modify new_object to take a flag, so players don't get old refs. #681

Closed aidanPB closed 1 year ago

aidanPB commented 1 year ago

This addresses issue #680.

I added a couple very simplistic tests based on create.yml in player.yml, which could probably stand to be expanded-upon, but the perfect is the enemy of the good. Similarly, I was very tempted to try to use <stdbool.h> (and define bool, true, and false in config.h if it wasn't available), but decided modifying configure.ac was a step slightly too far.

aidanPB commented 1 year ago

Aaand I just noticed that db.h is including <stdbool.h> directly anyway! I'm gonna close this and take advantage of that.

aidanPB commented 1 year ago

Re-opening; hopefully this'll pick up the stdbool commit.