swe-teamteam / OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢
http://openrct2.website
GNU General Public License v3.0
0 stars 0 forks source link

Bulldozing paths that are underconstruction give limited money #1

Closed J-Pinelli closed 7 years ago

J-Pinelli commented 7 years ago

OS: [Windows 10] Version: [?] Commit/Build: [?]

Provides unlimited money if you hold down bulldozer on a uncompleted path.

Steps to reproduce:

  1. Open build path and click on continuous path (right button of the two at the bottom of path window)
  2. Build a small patch
  3. Click on bulldozer in the upper right hand corner, and click on Footpath box in the window that appears.
  4. Click and hold on path that is not yet completed.
  5. $$$$$$$$$$$$$$$$$
crorabaugh2015 commented 7 years ago

error is in src/openrct2//world/footpath.c on lines 412-453 (most likely) - J-Pinelli discovered this

crorabaugh2015 commented 7 years ago

fixed: https://github.com/swe-teamteam/OpenRCT2/commit/97b7c98f1e24f257a3dffc0830fde41c9b78fa69