Don't render logo on MafiaC

This commit is contained in:
Vortrex
2022-09-04 15:49:08 -05:00
parent 65bad453ea
commit c94a40c2b1

View File

@@ -23,6 +23,10 @@ function initLogoScript() {
// ===========================================================================
function loadLogoImage() {
if (getGame() == AGRP_GAME_MAFIA_ONE) {
return false;
}
let logoStream = openFile(mainLogoPath);
let tempLogoImage = null;
if (logoStream != null) {
@@ -36,6 +40,10 @@ function loadLogoImage() {
// ===========================================================================
function processLogoRendering() {
if (getGame() == AGRP_GAME_MAFIA_ONE) {
return false;
}
if (renderLogo) {
if (logoImage != null) {
graphics.drawRectangle(logoImage, logoPos, logoSize);