Fix parameters

This commit is contained in:
duncanspumpkin 2019-04-21 20:06:55 +01:00
parent 228628b702
commit cc2da47271
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public:
if (_bannerId == BANNER_INDEX_NULL)
{
log_error("Banner Index not specified.");
return MakeResult(GA_ERROR::INVALID_PARAMETERS, STR_TOO_MANY_BANNERS_IN_GAME, STR_CANT_POSITION_THIS_HERE);
return MakeResult(GA_ERROR::INVALID_PARAMETERS, STR_TOO_MANY_BANNERS_IN_GAME);
}
if (gBanners[_bannerId].type != BANNER_NULL)
@ -248,7 +248,7 @@ public:
if (_bannerId == BANNER_INDEX_NULL)
{
log_error("No free banners available");
return MakeResult(GA_ERROR::NO_FREE_ELEMENTS, STR_TOO_MANY_BANNERS_IN_GAME, STR_CANT_POSITION_THIS_HERE);
return MakeResult(GA_ERROR::NO_FREE_ELEMENTS, STR_TOO_MANY_BANNERS_IN_GAME);
}
if (gBanners[_bannerId].type != BANNER_NULL)