Project

General

Profile

Bug #51

Checking for condition type 0A seems to be buggy

Added by Michael Blunck about 18 years ago. Updated almost 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Normal
Target version:
-
Start date:
18/05/2006
Due date:
% Done:

0%

Estimated time:

Description

TTDPatch Version: 2.5b3
Patch Feature: action 07/09

Checking for a grf-ID which "isn´t and will not be active" (condition type 0A) seems to be buggy.

I.e.

// check for NewCargo set (6D 62 08 00): it isn´t and it will not be active
1184 * 9 07 88 04 0A 6D 62 08 00 02

// make tiles of factory accept steel and wood
1185 * 9 ...
// get factory producing goods from steel and wood
1186 * 9 ...

those two sprites get never skipped.

(for an example see the AlpineClimate v0.2 .grf)

History

#1

Updated by Josef Drexler almost 18 years ago

changed in r348, now also skips if GRFID isn't found

Also available in: Atom PDF