]> git.tdb.fi Git - libs/game.git/commit
Streamline the send functions in Replicator a bit
authorMikko Rasa <tdb@tdb.fi>
Thu, 11 Jan 2024 20:55:17 +0000 (22:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 11 Jan 2024 20:56:43 +0000 (22:56 +0200)
commitae8e23f3dba26692b8fce84e52b4e1c37437e290
tree546c1b36dc7f42bc1e47ad57e87a34bcf4a9f43c
parentd3fc12f52ee6fe942ab4af93942c9ba33e551206
Streamline the send functions in Replicator a bit

Calling the targeted send function with a target of zero will now forward
to the broadcast function, avoiding the need to branch at call sites.
source/game/replicator.cpp
source/game/replicator.h