mirror of
https://github.com/brues-code/nampower.git
synced 2026-09-21 23:26:54 +00:00
fix GetGUIDFromName not working with guid strings
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
nampower
|
||||
|
||||
Timestamp is 69dd2b77 (Mon Apr 13 10:44:23 2026)
|
||||
Timestamp is 6a025c3e (Mon May 11 15:46:22 2026)
|
||||
|
||||
Preferred load address is 10000000
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ namespace Nampower {
|
||||
|
||||
constexpr uint32_t MAJOR_VERSION = 4;
|
||||
constexpr uint32_t MINOR_VERSION = 6;
|
||||
constexpr uint32_t PATCH_VERSION = 0;
|
||||
constexpr uint32_t PATCH_VERSION = 1;
|
||||
|
||||
constexpr int32_t LUA_REGISTRYINDEX = -10000;
|
||||
constexpr int32_t LUA_GLOBALSINDEX = -10001;
|
||||
|
||||
@@ -408,7 +408,7 @@ namespace Nampower {
|
||||
}
|
||||
}
|
||||
|
||||
if (!hasHexAndUnitSuffix) {
|
||||
if (!isHexToken && !hasHexAndUnitSuffix) {
|
||||
uint64_t result = original(nameStr);
|
||||
if (result != 0) {
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user