aureneas / adventure

0 stars 0 forks source link

Whenever the program checks for collisions, it gets a segmentation fault and crashes. #1

Closed aureneas closed 8 years ago

aureneas commented 8 years ago

Note to self: "segmentation faults" are caused by issues in memory, specifically trying to access points in memory that aren't designated for the program. See also: http://stackoverflow.com/questions/2346806/what-is-segmentation-fault

aureneas commented 8 years ago

Fixed it. Turns out I wasn't adding or removing the area as a location when I added the object to the area. So the program tried to call a reference to a variable in a null pointer.

aureneas commented 8 years ago

Why am I leaving these notes. Who are they even for.