fix: windows-gcc build
This commit is contained in:
parent
214b56f37b
commit
b38c29af84
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue