summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5ffc32)
raw | patch | inline | side by side (parent: b5ffc32)
author | Stas'M <x86corez@gmail.com> | |
Sun, 27 Jan 2019 11:45:06 +0000 (14:45 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Sun, 27 Jan 2019 11:45:06 +0000 (14:45 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index ef00f5d3796e5fc18c9e185d5e574bfb4d25d32a..dc80fdd1770a68dfa16053c1171136045c457290 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
PLAYER_AP_SOFT = 100;
PLAYER_AP_LIMIT = 200;
SUICIDE_DAMAGE = 112;
+ WEAPON_DELAY = 5;
PLAYER1_DEF_COLOR: TRGB = (R:64; G:175; B:48);
PLAYER2_DEF_COLOR: TRGB = (R:96; G:96; B:96);
begin
//e_WriteLog(Format(' SWITCH: cur=%d; new=%d', [FCurrWeap, cwi]), MSG_WARNING);
result := Byte(cwi);
- FNextWeapDelay := 10;
+ FNextWeapDelay := WEAPON_DELAY;
exit;
end;
end;
// i found her!
result := Byte(i);
resetWeaponQueue();
- FNextWeapDelay := 10; // anyway, 'cause why not
+ FNextWeapDelay := WEAPON_DELAY; // anyway, 'cause why not
exit;
end;
end;