mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
This commit is contained in:
parent
bbd14acb1d
commit
8e30f0e75a
@ -3311,7 +3311,7 @@ static void FeatureMapSpriteGroup(byte *buf, size_t len)
|
||||
* W cid cargo ID (sprite group ID) for this type of cargo
|
||||
* W def-cid default cargo ID (sprite group ID) */
|
||||
|
||||
if (_cur_grffile->spritegroups == 0) {
|
||||
if (_cur_grffile->spritegroups == NULL) {
|
||||
grfmsg(1, "FeatureMapSpriteGroup: No sprite groups to work on! Skipping");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user