Skip to content

Commit

Permalink
Small touches
Browse files Browse the repository at this point in the history
  • Loading branch information
starswaitforus authored and solcloud committed Aug 24, 2024
1 parent b380e97 commit a8f7098
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 82 deletions.
5 changes: 5 additions & 0 deletions server/src/Map/DefaultMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ public function getSpawnRotationDefender(): int
return 180;
}

public function getBombMaxBlastDistance(): int
{
return 1500;
}

public function getBuyArea(bool $forAttackers): Box
{
return $this->buyArea[(int)$forAttackers];
Expand Down
79 changes: 0 additions & 79 deletions server/src/Net/Protocol/BinaryProtocol.php.txt

This file was deleted.

3 changes: 1 addition & 2 deletions server/src/Traits/Player/AttackTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ private function getThrowSpeed(): int

protected function createAttackEvent(AttackEnable $item): Attackable
{
$origin = $this->getPositionClone();
$origin->addY($this->getSightHeight());
$origin = $this->getSightPositionClone();

if ($item instanceof Grenade) {
$event = new ThrowEvent(
Expand Down
2 changes: 1 addition & 1 deletion www/assets/js/Hud.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class HUD {
<canvas id="radar-canvas"></canvas>
</div>
<div class="money bg"><span data-money>0</span> $ <span data-can-buy>🛒</span></div>
<div data-have-bomb class="hidden icons" style="margin:22px 4px;font-size:200%;color:#fdf46e"><span data-can-plant class="hidden">🠻&nbsp;</span>\uE031</div>
<div data-have-bomb class="hidden icons" style="margin:22px 4px;font-size:200%;color:#fdf46e"><span data-can-plant class="hidden">&nbsp;</span>\uE031</div>
<div data-have-defuse-kit class="hidden icons" style="margin:22px 4px;font-size:200%;color:#5d8dea">\uE066</div>
</div>
<div class="bottom">
Expand Down

0 comments on commit a8f7098

Please sign in to comment.