mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
fix manabatery, fix timer clock skew, check queue when mouse move, wasd control
This commit is contained in:
parent
05a2803b2b
commit
56cac26206
17 changed files with 102 additions and 60 deletions
|
@ -2185,10 +2185,10 @@ static void knock_mob_back(TMOB *mm,int dir)
|
|||
if (itnum == 0) return;
|
||||
const TITEM *it = glob_items + itnum-1;
|
||||
if (it->druh != TYP_UTOC) return;
|
||||
int vls[] = {VLS_MGSIL_H,VLS_MGSIL_L,VLS_UTOK_H,VLS_UTOK_L,VLS_DAMAGE};
|
||||
int vls[] = {VLS_UTOK_H,VLS_UTOK_L,VLS_DAMAGE};
|
||||
for (size_t i = 0; i < countof(vls); ++i) {
|
||||
vlastnosti[vls[i]] -= it->zmeny[vls[i]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue