Fix: Out of bounds tile access in ErrmsgWindow::OnInitialPosition
commita1d6354cafc8b6485d2c747eb1a6e5e638a11c55
authorJonathan G Rennison <j.g.rennison@gmail.com>
Wed, 6 Nov 2019 22:47:12 +0000 (6 22:47 +0000)
committerNiels Martin Hansen <nielsm@indvikleren.dk>
Thu, 14 Nov 2019 07:13:44 +0000 (14 08:13 +0100)
treefb9e7ed2610704a45684dcc6036ba19495b27135
parentda2504a0ded81d34843d75fdb3b3bd640900debb
Fix: Out of bounds tile access in ErrmsgWindow::OnInitialPosition

This fixes part A of #7619, but not part B.

Vehicle::x_pos and Vehicle::y_pos are not required to be within the map bounds.

See also: GetTileHeightBelowAircraft()
src/error_gui.cpp