Don't render logo on MafiaC
This commit is contained in:
@@ -23,6 +23,10 @@ function initLogoScript() {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function loadLogoImage() {
|
function loadLogoImage() {
|
||||||
|
if (getGame() == AGRP_GAME_MAFIA_ONE) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
let logoStream = openFile(mainLogoPath);
|
let logoStream = openFile(mainLogoPath);
|
||||||
let tempLogoImage = null;
|
let tempLogoImage = null;
|
||||||
if (logoStream != null) {
|
if (logoStream != null) {
|
||||||
@@ -36,6 +40,10 @@ function loadLogoImage() {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function processLogoRendering() {
|
function processLogoRendering() {
|
||||||
|
if (getGame() == AGRP_GAME_MAFIA_ONE) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (renderLogo) {
|
if (renderLogo) {
|
||||||
if (logoImage != null) {
|
if (logoImage != null) {
|
||||||
graphics.drawRectangle(logoImage, logoPos, logoSize);
|
graphics.drawRectangle(logoImage, logoPos, logoSize);
|
||||||
|
|||||||
Reference in New Issue
Block a user