Skip to content
Commit 12c29cde authored by Julian Helfferich's avatar Julian Helfferich
Browse files

Fix Coverity #76275: Uninitialized pointer

The pointer mpGame in GamePlayerInterface was not initialized in the
constructor.

I noticed that both childs of GamePlayerInterface -- KBlocksDummyAI and
KBlocksAIPlayer -- redeclare and hide mpGame instead of using the
parent class member.

I have removed the duplicate members in the child classes and initialize
the pointer with nullptr.
parent 05ebfcbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment