bubba2251 / freerct

Automatically exported from code.google.com/p/freerct
0 stars 0 forks source link

Crash when removing a path below a guest #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build a path upwards
2. let the guest going there
3. remove path under the guest

What is the expected output?
guest fall down to tileground

What do you see instead?
programmcrash

NOT_REACHED triggered at line 167 of 
/home/niels/develop/git/freerct-read-only/src/person.cpp

Original issue reported on code.google.com by vatriani.nn on 11 Jan 2014 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by CharlesP...@googlemail.com on 11 Jan 2014 at 11:32

GoogleCodeExporter commented 9 years ago
I made a code fix that deals with this issue and allows for guests to move 
across surfaces that are not paths. If they are in the air, it will drop them 
to the nearest ground surface. Unfortunately, the case for "steep" slopes leads 
to guests being drawn mostly behind the ground sprite. With this added bug, I 
am not sure if I should upload the patch for it or not.

Original comment by ikani...@gmail.com on 19 Mar 2014 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by CharlesP...@googlemail.com on 27 May 2014 at 1:16