fix: windows-gcc build

This commit is contained in:
jeefo 2023-06-20 15:23:41 +03:00
commit b38c29af84
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED

View file

@ -1016,7 +1016,7 @@ void EntityLinkage::callPlayerFunction (edict_t *ent) {
playerFunction = game.lib ().resolve <EntityFunction> ("player"); playerFunction = game.lib ().resolve <EntityFunction> ("player");
} }
else { else {
playerFunction = reinterpret_cast <EntityFunction> (lookup (game.lib ().handle (), "player")); playerFunction = reinterpret_cast <EntityFunction> (reinterpret_cast <void *> (lookup (game.lib ().handle (), "player")));
} }
if (!playerFunction) { if (!playerFunction) {