mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r6894) - Codechange: Lower the verbosity level of some NewGRF warnings
This commit is contained in:
parent
e260878f09
commit
8e3853f5ce
10
newgrf.c
10
newgrf.c
@ -1756,7 +1756,7 @@ static void FeatureMapSpriteGroup(byte *buf, int len)
|
|||||||
/* If ``n-id'' (or ``idcount'') is zero, this is a ``feature
|
/* If ``n-id'' (or ``idcount'') is zero, this is a ``feature
|
||||||
* callback''. */
|
* callback''. */
|
||||||
if (idcount == 0) {
|
if (idcount == 0) {
|
||||||
grfmsg(GMS_WARN, "FeatureMapSpriteGroup: Feature callbacks not implemented yet.");
|
grfmsg(GMS_NOTICE, "FeatureMapSpriteGroup: Feature callbacks not implemented yet.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2576,11 +2576,11 @@ static void ParamSet(byte *buf, int len)
|
|||||||
if (GB(data, 0, 8) == 0xFF) {
|
if (GB(data, 0, 8) == 0xFF) {
|
||||||
if (data == 0x0000FFFF) {
|
if (data == 0x0000FFFF) {
|
||||||
/* Patch variables */
|
/* Patch variables */
|
||||||
grfmsg(GMS_WARN, "ParamSet: Reading Patch variables unsupported.");
|
grfmsg(GMS_NOTICE, "ParamSet: Reading Patch variables unsupported.");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
/* GRF Resource Management */
|
/* GRF Resource Management */
|
||||||
grfmsg(GMS_WARN, "ParamSet: GRF Resource Management unsupported.");
|
grfmsg(GMS_NOTICE, "ParamSet: GRF Resource Management unsupported.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -2833,7 +2833,7 @@ static void ImportGRFSound(byte *buf, int len)
|
|||||||
static void GRFImportBlock(byte *buf, int len)
|
static void GRFImportBlock(byte *buf, int len)
|
||||||
{
|
{
|
||||||
if (_grf_data_blocks == 0) {
|
if (_grf_data_blocks == 0) {
|
||||||
grfmsg(GMS_WARN, "GRFImportBlock: Unexpected import block, skipping.");
|
grfmsg(GMS_NOTICE, "GRFImportBlock: Unexpected import block, skipping.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2922,7 +2922,7 @@ static void GRFDataBlock(byte *buf, int len)
|
|||||||
const char *name;
|
const char *name;
|
||||||
|
|
||||||
if (_grf_data_blocks == 0) {
|
if (_grf_data_blocks == 0) {
|
||||||
grfmsg(GMS_WARN, "GRFDataBlock: unexpected data block, skipping.");
|
grfmsg(GMS_NOTICE, "GRFDataBlock: unexpected data block, skipping.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user