From 6120dae61a177727dc363aafb3ca7a0840d78230 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 22 Feb 2017 07:39:11 -0500 Subject: [PATCH] While I'm using the hacky approach to player/missile synchronisation, I need to seed adder. --- Machines/Atari2600/TIA.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Atari2600/TIA.hpp b/Machines/Atari2600/TIA.hpp index 45e051133..da6a77d86 100644 --- a/Machines/Atari2600/TIA.hpp +++ b/Machines/Atari2600/TIA.hpp @@ -188,7 +188,7 @@ class TIA { } } - Player() : copy_flags(0), graphic{0, 0}, reverse_mask(false), pixel_position(32), graphic_index(0) {} + Player() : copy_flags(0), graphic{0, 0}, reverse_mask(false), pixel_position(32), graphic_index(0), adder(4) {} } player_[2]; // common actor for things that appear as a horizontal run of pixels