mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
Merge branch 'milek-dev' into udpnetwork
This commit is contained in:
@@ -124,7 +124,8 @@ basic_cell::update_events() {
|
||||
// event launchers
|
||||
for( auto *launcher : m_eventlaunchers ) {
|
||||
if (launcher->check_conditions()
|
||||
&& SquareMagnitude( launcher->location() - Global.pCamera.Pos ) < launcher->dRadius) {
|
||||
&& (launcher->dRadius < 0.0
|
||||
|| SquareMagnitude( launcher->location() - Global.pCamera.Pos ) < launcher->dRadius)) {
|
||||
if (launcher->check_activation())
|
||||
launch_event(launcher, true);
|
||||
if (launcher->check_activation_key())
|
||||
|
||||
Reference in New Issue
Block a user