blockattack (1.3.1-4) replay_init.diff

Summary

 replay.cpp |    2 +-
 replay.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

--- blockattack-1.3.1.orig/replay.cpp
+++ blockattack-1.3.1/replay.cpp
@@ -29,7 +29,7 @@
 
 #include "replay.h"
 
-void Replay::newReplay()
+Replay::Replay()
 {
 	nrOfFrames=0;
 }
--- blockattack-1.3.1.orig/replay.h
+++ blockattack-1.3.1/replay.h
@@ -66,7 +66,7 @@
       enum { gameOver=0, winner, looser, draw } theResult;
       
       public:     
-      void newReplay(); //Constructor
+      Replay(); //Constructor
       Uint32 getNumberOfFrames(); //Returns number of frames
       void setFrameSecTo(Uint32,boardPackage); //Sets frame at a given time to the package
       void setFinalFrame(boardPackage,int); //Sets the final package