Ndk: Fixed warnings

Former-commit-id: 64509f0d59d83f4c04a09fe7e7913d94a940f191
This commit is contained in:
Lynix
2015-05-04 13:52:37 +02:00
parent 385b7fc3fd
commit 5e954113ef
7 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/EntityHandle.hpp>
namespace Ndk
{
const EntityHandle EntityHandle::InvalidHandle;
}

View File

@@ -79,7 +79,7 @@ namespace Ndk
else
{
NazaraError("Invalid ID");
return EntityHandle();
return EntityHandle::InvalidHandle;
}
}