Fix incorrect identifier load in PDT evaluator.
This commit is contained in:
@@ -46,13 +46,13 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
else {
|
||||
type = PdtInternalType.Undefined;
|
||||
LoadNum(name);
|
||||
LoadIdent(name);
|
||||
value = _numbuf;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
unsafe void LoadNum(int value) {
|
||||
unsafe void LoadIdent(int value) {
|
||||
fixed (byte* ptr = _numbuf) *(int*)ptr = value;
|
||||
}
|
||||
unsafe void LoadNum(float value) {
|
||||
|
Reference in New Issue
Block a user