mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
continued refactoring: lines, terrain models; render culling optimizations and fixes
This commit is contained in:
10
MemCell.cpp
10
MemCell.cpp
@@ -176,8 +176,14 @@ void TMemCell::StopCommandSent()
|
||||
if (!bCommand)
|
||||
return;
|
||||
bCommand = false;
|
||||
if (OnSent) // jeśli jest event
|
||||
Global::AddToQuery(OnSent, NULL);
|
||||
if( OnSent ) {
|
||||
// jeśli jest event
|
||||
#ifdef EU07_USE_OLD_GROUNDCODE
|
||||
Global::AddToQuery( OnSent, NULL );
|
||||
#else
|
||||
simulation::Events.AddToQuery( OnSent, nullptr );
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
void TMemCell::AssignEvents(TEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user