haekb / nolf2-modernizer

NOLF 2 Modernizer aims to unlock resolution support, restore multi-player support, and fix a few bugs here and there.
https://haekb.itch.io/nolf2-modernizer
30 stars 4 forks source link

Damage types are incorrect #69

Closed haekb closed 4 years ago

haekb commented 4 years ago

When slipping on a banana you get the slip effect, fire, and electrocuted.

This is caused by an incorrectly casted shifting operation.

The game is doing 1 << ( uint64 )i which works in Visual C++ 6.0, but in newer versions of C++ you must case the 1 as well. (uint64)1 << ( uint64 )i