Subversion Repositories eduke32

Rev

Rev 4755 | Rev 4839 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4755 Rev 4762
Line 109... Line 109...
109
int32_t Gv_NewArray(const char *pszLabel,void *arrayptr,intptr_t asize,uint32_t dwFlags);
109
int32_t Gv_NewArray(const char *pszLabel,void *arrayptr,intptr_t asize,uint32_t dwFlags);
110
int32_t Gv_NewVar(const char *pszLabel,intptr_t lValue,uint32_t dwFlags);
110
int32_t Gv_NewVar(const char *pszLabel,intptr_t lValue,uint32_t dwFlags);
111
111
112
static inline void A_ResetVars(const int32_t iActor)
112
static inline void A_ResetVars(const int32_t iActor)
113
{
113
{
-
 
114
    int i;
114
    for (int i = 0; i < g_gameVarCount; i++)
115
    for (i = 0; i < g_gameVarCount; i++)
115
    {
116
    {
116
        if ((aGameVars[i].dwFlags & (GAMEVAR_PERACTOR | GAMEVAR_NODEFAULT)) == GAMEVAR_PERACTOR)
117
        if ((aGameVars[i].dwFlags & (GAMEVAR_PERACTOR | GAMEVAR_NODEFAULT)) == GAMEVAR_PERACTOR)
117
            aGameVars[i].val.plValues[iActor] = aGameVars[i].lDefault;
118
            aGameVars[i].val.plValues[iActor] = aGameVars[i].lDefault;
118
    }
119
    }
119
}
120
}