mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
feedback from az
fixes for interaction from az
This commit is contained in:
parent
b5cd9d0c73
commit
1918ecfdd6
2 changed files with 4 additions and 2 deletions
|
|
@ -126,7 +126,6 @@ void GuiCrossHairHud::initPersistFields()
|
|||
|
||||
void GuiCrossHairHud::onRender(Point2I offset, const RectI &updateRect)
|
||||
{
|
||||
GuiOffscreenCanvas::sActiveOffscreenCanvas = NULL;
|
||||
// Must have a connection and player control object
|
||||
GameConnection* conn = GameConnection::getConnectionToServer();
|
||||
if (!conn)
|
||||
|
|
@ -162,6 +161,7 @@ void GuiCrossHairHud::onRender(Point2I offset, const RectI &updateRect)
|
|||
{
|
||||
if (mFrameTime->getElapsedMs() > 32)
|
||||
{
|
||||
GuiOffscreenCanvas::sActiveOffscreenCanvas = NULL;
|
||||
mFrameTime->reset();
|
||||
|
||||
Point3F newStart, newEnd;
|
||||
|
|
@ -204,7 +204,6 @@ void GuiCrossHairHud::onRender(Point2I offset, const RectI &updateRect)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Hit something... but we'll only display health for named
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue