diff options
Diffstat (limited to 'kbattleship/kbattleship/kbhorizontalstepstrategy.cpp')
-rw-r--r-- | kbattleship/kbattleship/kbhorizontalstepstrategy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbattleship/kbattleship/kbhorizontalstepstrategy.cpp b/kbattleship/kbattleship/kbhorizontalstepstrategy.cpp index 63ee74fa..a6e931da 100644 --- a/kbattleship/kbattleship/kbhorizontalstepstrategy.cpp +++ b/kbattleship/kbattleship/kbhorizontalstepstrategy.cpp @@ -17,10 +17,10 @@ #include <krandomsequence.h> #include "kbhorizontalstepstrategy.h" -KBHorizontalStepStrategy::KBHorizontalStepStrategy(KBStrategy *tqparent) : KBStrategy(tqparent) +KBHorizontalStepStrategy::KBHorizontalStepStrategy(KBStrategy *parent) : KBStrategy(parent) { m_child = 0; - if(tqparent == 0) // only the master destroys ships + if(parent == 0) // only the master destroys ships { m_destroyer = new KBDestroyShipStrategy(this); m_destroying = false; |