-Fix: shadowed the 'h = g_playerHouse' variable, leading to dereferencing NULL