sfall
sfall copied to clipboard
Car given to the player even when it shouldn't
I discovered an odd bug regarding the car.
Let's say you remove the function car_give_to_party
from the map_exit_p_proc
that fires on a map script for a random encounter.
If you exit that map on a brown exit grid, you will continue traveling the world map on foot as expected.
However, if you do the exact same thing while the combat is initialized, you will continue traveling in the car even though car_give_to_party
was never called.
This only happens in a random encounter while combat is initialized when you hit the brown exit grid.
I looked a little bit through the source code and believe that the issue is with wmGenData.isInCar
not being set to false
.