Skip to content
  • Julian Helfferich's avatar
    Fix Coverity #76275: Uninitialized pointer · 12c29cde
    Julian Helfferich authored
    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.
    12c29cde