Skip to content

Commit

Permalink
AddProps add static
Browse files Browse the repository at this point in the history
  • Loading branch information
postm1 committed Jun 11, 2024
1 parent 98ac0f4 commit 9bc9d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpacerNET_Union/SpacerApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ namespace GOTHIC_ENGINE {

OutFile("SetProperties: " + A classNameVob, false);

auto AddProps = (callVoidFunc)GetProcAddress(theApp.module, "AddProps");
static auto AddProps = (callVoidFunc)GetProcAddress(theApp.module, "AddProps");

Stack_PushString(className);
Stack_PushString(str);
Expand Down Expand Up @@ -1969,7 +1969,7 @@ namespace GOTHIC_ENGINE {
}
else
{
auto AddProps = (callVoidFunc)GetProcAddress(theApp.module, "AddProps");
static auto AddProps = (callVoidFunc)GetProcAddress(theApp.module, "AddProps");

Stack_PushString("");
Stack_PushString("");
Expand Down

0 comments on commit 9bc9d6c

Please sign in to comment.