1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 03:40:49 +00:00

- fixed a typecast for 64-bit platforms (Monster)

git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@130 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
nkorslund 2009-08-26 10:40:20 +00:00
parent 64db2376d2
commit 00898117c7

View File

@ -944,7 +944,7 @@ final class EnumScope : SimplePropertyScope
{ tasm.push(et.entries[$-1].index); }
void enumLen()
{ tasm.push(et.entries.length); }
{ tasm.push(cast(uint)et.entries.length); }
void enumVal()
{ tasm.getEnumValue(et.tIndex); }