aboutsummaryrefslogtreecommitdiff
path: root/src/houses.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-07-01 07:21:10 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-07-01 07:21:10 -0300
commit6243967f1fac3af8ed3e72790cabed0f79978bdb (patch)
tree35f0d27b4c280622c368a9fa94815b8deb7a990f /src/houses.hh
parent6c8aa85b8b578db03a8c5f0dc0b7e80605592d45 (diff)
downloadgame-6243967f1fac3af8ed3e72790cabed0f79978bdb.tar.gz
game-6243967f1fac3af8ed3e72790cabed0f79978bdb.zip
fix `operator=` for `TChannel`, `TParty`, and `THouse`
I had focused on copying the `vector` fields for theses structs but, being the copy operator, you need to copy everything over.
Diffstat (limited to 'src/houses.hh')
-rw-r--r--src/houses.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/houses.hh b/src/houses.hh
index 8402bf2..65c6b19 100644
--- a/src/houses.hh
+++ b/src/houses.hh
@@ -27,7 +27,7 @@ struct THouseGuest {
};
struct THouse {
- THouse(void) : Subowner(0, 4, 5), Guest(0, 9, 10) {}
+ THouse(void);
// TODO(fusion): Same as `TChannel` in `operate.hh`.
THouse(const THouse &Other);