paint-brush
Fixing Code Errors in Amnesia: The Dark Descentby@pvs-studio
350 reads
350 reads

Fixing Code Errors in Amnesia: The Dark Descent

by PVS-Studio12mOctober 25th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

PVS-Studio opened source code of "Amnesia: The Dark Descent" and "A Machine For Pigs" games. The games are a cult horror game in the survival horror genre. The main reason for these errors is the "last line effect" errors. There were a lot of suspicious places that looked like inattentive copying. Some cases may be due to the internal logic of the game itself. The better half of errors found by the analyzer in these projects was copy-paste errors.

Company Mentioned

Mention Thumbnail
featured image - Fixing Code Errors in Amnesia: The Dark Descent
PVS-Studio HackerNoon profile picture
PVS-Studio

PVS-Studio

@pvs-studio

Search for bugs in C, C++, C#, Java on Windows, Linux, macOS. https://pvs-studio.com/

L O A D I N G
. . . comments & more!

About Author

PVS-Studio HackerNoon profile picture
PVS-Studio@pvs-studio
Search for bugs in C, C++, C#, Java on Windows, Linux, macOS. https://pvs-studio.com/

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite