ianpatt / f4se

Fallout 4 Script Extender
https://f4se.silverlock.org
120 stars 24 forks source link

BSHash compile error #26

Closed EgoBallistic closed 5 months ago

EgoBallistic commented 5 months ago

Trying to do a find() on the CellMap BSTHashMap in TESObjectWorldSpace was failing to compile. It turns out there's an error in GameUtilities.h line 23, it's trying to pass a UInt32 where it should be passing a pointer to UInt32.

The line is CalculateCRC32_SIZE(crc32, &a_key, sizeof(Key), 0); but should be CalculateCRC32_SIZE(&crc32, &a_key, sizeof(Key), 0);