Skip to content

Commit 319cd86

Browse files
author
nitrocaster
committed
Fix plugin compilation.
1 parent e1013f4 commit 319cd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/GameMtlLib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CGameMtlLibrary::CGameMtlLibrary()
6565
{
6666
material_index = 0;
6767
material_pair_index = 0;
68-
#ifndef _EDITOR
68+
#if !defined(_EDITOR) && !defined(GM_NON_GAME)
6969
GlobalEnv.PGMLib = &GMLib;
7070
#endif
7171
}

0 commit comments

Comments
 (0)