Update/fix module template

Former-commit-id: ec7daea1a67eb2b3124148bcc7cc46bc9566d16c
This commit is contained in:
Lynix
2015-09-28 00:41:36 +02:00
parent 7db9be3cfb
commit 0112d5746f
5 changed files with 17 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ namespace Nz
}
// Initialize module dependencies
if (!NzCore::Initialize())
if (!Core::Initialize())
{
NazaraError("Failed to initialize core module");
return false;
@@ -48,7 +48,7 @@ namespace Nz
{
if (s_moduleReferenceCounter != 1)
{
// Le module est soit encore utilisé, soit pas initialisé
// Either the module is not initialized, either it was initialized multiple times
if (s_moduleReferenceCounter > 1)
s_moduleReferenceCounter--;