Picking up Statue Does not Close Gate in Crypt Raider

Even after copying all the c++ code for the project, it does not work. Any help would be appreciated. Let me know if you need any information.



Where’s the tag for the statue?