altf4/RealTimeTactics — Issue #36: Change allocation of Messages being written to stack
Author: altf4
Created: 2012-03-09 04:07:13+00:00
State: open

Change them all to this:

GameMessage message;

instead of:

GameMessage *message = new GameMessage();

Way better. Faster, harder to screw up. No memory leaks. Fewer lines of code.