altf4/RealTimeTactics — Issue #14: Be careful with struct copies
Author: altf4
Created: 2011-12-23 22:52:33+00:00
State: open

structs can have passing and all kinds of internal silliness that can make direct memory copy errors. You have to assume that both ends of the communication were both made with the same compiler and everything, which we don't want to assume.

So change any instances of direct copies to/from structs and memory with copies of their contents. This is notably present in the message serialization code.