Subversion Repositories eduke32

Rev

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

Rev 4839 Rev 4895
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;
-
 
115
    for (i = 0; i < g_gameVarCount; i++)
114
    for (int i = 0; i < g_gameVarCount; i++)
116
    {
115
    {
117
        if ((aGameVars[i].dwFlags & (GAMEVAR_PERACTOR | GAMEVAR_NODEFAULT)) == GAMEVAR_PERACTOR)
116
        if ((aGameVars[i].dwFlags & (GAMEVAR_PERACTOR | GAMEVAR_NODEFAULT)) == GAMEVAR_PERACTOR)
118
            aGameVars[i].val.plValues[iActor] = aGameVars[i].lDefault;
117
            aGameVars[i].val.plValues[iActor] = aGameVars[i].lDefault;
119
    }
118
    }
120
}
119
}