git repos / blockattack-game

commit a309b705

Poul Sander · 2020-08-08 17:15
a309b7059559aeb51b944c7c033a63f6624bd0d1 patch · browse files
parent 01ca3ed95a325c49cfc1ccf2be7590069befb1da

Remove action. Already set in constructor

Changed files

M source/code/main.cpp before
diff --git a/source/code/main.cpp b/source/code/main.cpp index 5f98c5e..6658b24 100644 --- a/source/code/main.cpp +++ b/source/code/main.cpp
@@ -1389,7 +1389,6 @@ int runGame(Gametype gametype, int level) {
bool mustWriteScreenshot = false;
BlockGameAction a;
- a.action = BlockGameAction::Action::NONE;
a.tick = SDL_GetTicks();
if (true) {
SDL_Event event;